|
Posted by Arjen on 01/11/07 11:51
Dave Nash schreef:
> On Thu, 11 Jan 2007 12:15:18 +0100, Ruben van Engelenburg
> <nospam@nospam.com> wrote:
>
>> Dave Nash wrote:
>>
>>> Call me silly but how do I echo the query?
>> Like this :)
>>
>> $query="UPDATE categories SET catname='$ud_catname',
>> image='{$ud_image["name"]}', parentid='$parentid' WHERE catid='$ud_catid'";
>>
>> echo $query;
>>
>> Ruben.
>
> Echo query =
>
> UPDATE categories SET catname='Hockey Sticks', image='s',
> parentid='43' WHERE catid='43'
>
> but the image is called send-out1.jpg
What is this $ud_image ? You are not referring ot it anywhere
try this at the end of ur script
var_dump($ud_image);
var_dump($_FILES);
--
Arjen
http://www.hondenpage.com - Mijn site over honden
[Back to original message]
|