Calling a php script to populate a DataTables column after upload?
Calling a php script to populate a DataTables column after upload?
scc_gsi
Posts: 4Questions: 2Answers: 0
I have written a php script to generate an url and id for a row in the database.
How can I use ajax to call this script after an user uploads data in order to populate the two columns in the database?
Thank you.
This discussion has been closed.
Answers
Rather than having the client-side call a server-side script on behalf of the server-side for upload, can you not just call it directly from the server-side?
The
preUpload
andpostUpload
events on the server-side should be useful for that.Allan
Thanks Allan. Would using include or require be the be best method for calling a script postCreate?
for ex: