You are here: Re: DB cuts off data « All PHP « IT news, forums, messages
Re: DB cuts off data

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

 

Navigation:

[Reply to this 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

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