|  | Posted by Geoff Berrow on 01/11/07 14:12 
Message-ID: <0agcq2hrumqcsk5ugvtr4l5dlhe82pfce8@4ax.com> from GeoffBerrow contained the following:
 
 >$image   = $_FILES["image"];
 >
 >should be
 >
 >$image   = $_FILES["ud_image"];
 
 Actually, this was the crucial error.  With this correct, (and the
 enctype correct) you could have done
 
 $query="UPDATE categories SET catname='$ud_catname',
 image='{$image["name"]}', parentid='$parentid'  WHERE
 catid='$ud_catid'";
 
 
 Soooo simple...<smacks head>
 
 Now I really must get back to (paid) work :-)
 
 
 --
 Geoff Berrow  0110001001101100010000000110
 001101101011011001000110111101100111001011
 100110001101101111001011100111010101101011
  Navigation: [Reply to this message] |