MySQL Forums
Forum List  »  PHP

Re: PHP UPDATE passes a blank string instead of contents of variable
Posted by: Cane Kostovski
Date: July 27, 2015 04:18PM

Below is the print out of the debugging Peter asked me to do:

Array
(
[0] => /tmp/phpZYGwmB
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[6] =>
[7] =>
[8] =>
[9] =>
[10] =>
[11] =>
[12] =>
[13] =>
[14] =>
)

File_Name Contents are: summer2.jpgUPDATE `animals` SET `img1` = 'summer2.jpg' WHERE `id` = 44Database updated with SQL: UPDATE `animals` SET `img1` = 'summer2.jpg' WHERE `id` = 44 and MySQL Error: .

File number 2 not changed.
File number 3 not changed.
File number 4 not changed.
File number 5 not changed.
File number 6 not changed.
File number 7 not changed.
File number 8 not changed.
File number 9 not changed.
File number 10 not changed.
File number 11 not changed.
File number 12 not changed.
File number 13 not changed.
File number 14 not changed.
File number 15 not changed.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.