Reply to Re: DB cuts off data

Your name:

Reply:


Posted by Geoff Berrow on 01/11/07 14:12

Message-ID: <0agcq2hrumqcsk5ugvtr4l5dlhe82pfce8@4ax.com> from Geoff
Berrow 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация