Posted by Geoff Berrow on 01/11/07 11:14
Message-ID: <366cq2tppi7h9um7nj073nqr3v29u9jt82@4ax.com> from Dave Nash
contained the following:
>>$query="UPDATE categories SET catname='$ud_catname',
>>image='{$ud_image["name"]}', parentid=$parentid WHERE
>>catid=$ud_catid";
>>
>>Also echo your $query variable before executing it, to see what you're
>>sending to the database server. There's probably simply an error in your
>>$ud_image array.
>>
>>Ruben.
>
>Call me silly but how do I echo the query?
echo $query;
You echo it to the screen so you can see what it is evaluating to.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
[Back to original message]
|