|
Posted by Kathryn Gill on October 23, 2006, 8:55 am
Please log in for more thread options Hi,
I don't seem to get an error, so i'll go to the php forum.
Thanks
Kat
>
> 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
>>
|