Forum
04:48
05/03/2012
I am new to jquery and php and was wondering is there an example for the php file used in 'editurl=somecode.php' ?
I think what the php file should do is to read the GET or POST data from javascript then write it to mysql, but I dont' know what POST variable names I should use in php so that I can send a query? For example, when I am adding a row, edit a row, or delete a row?
Any help will be greately apprecaited!
15:41
Moderators
30/10/2007
Hello,
Please see into the docs what is sended to the server when you add, edit, del
This save me a lot of time.
Edit:
/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow
Add
/jqgridwiki/doku.php?id=wiki:form_editing#adding_row
Del
/jqgridwiki/doku.php?id=wiki:form_editing#delgridrow
Read from the beginning to the end.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
17:06
05/03/2012
Thanks, Tony! And sorry for posting in the Discussion board as this should go to the 'Help'.
I was reading the navigating part and tried the example code, and that's why I did not yet see the Form Editing seciton which is like 2 chapters after in the document.
By the way I already figured out by myself by simply print $_POST to a local html file so I can read it. But the document definitely is more authentic.
Most Users Ever Online: 715
Currently Online:
84 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66