![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I;m having probs with this script. when i click update form the values from the text boxs that javascript updates won't be saved in the data base. Can any1 help? |
#3
| |||
| |||
|
|
I;m having probs with this script. when i click update form the values from the text boxs that javascript updates won't be saved in the data base. Can any1 help? Thanks Kat |
#4
| |||
| |||
|
|
"Kathryn Gill" <fire_juggler_03 (AT) hotmail (DOT) com> wrote in news:NsM_g.6351$3x1.2349 (AT) fe1 (DOT) news.blueyonder.co.uk: Hi Kathryn Where is the PHP code which actually does the insert/update ? As Aggro suggests echo the actual SQL query and post that so we can see if there is anything wrong in the query. In PHP try using mysql_query($qry) or die(mysql_error()); That should print the error out to the screen (assuming you ISP doesn't have PHP configured to supress such errors/warnings) Otherwise just echo the result - if (!mysql_query($sql)) echo "Error: ".mysql_error(); I always echo the query and execute it directly against mysql (using something like PHPmyAdmin or mySQLFront. Then you can fix any syntax in the query and get the actual query right and then paste it back in to the PHP code. Jody I;m having probs with this script. when i click update form the values from the text boxs that javascript updates won't be saved in the data base. Can any1 help? Thanks Kat |
![]() |
| Thread Tools | |
| Display Modes | |
| |