Reply to Re: $sql = "update products set smallpicname = $myfile ......???

Your name:

Reply:


Posted by Jim S. on 02/03/06 03:36

no it is not empty, i double checked. (i echoed it)

can u remind me how to check if it is empty?
i know it is something like isempty() or something :)

thanks
Jim


"tonjo" <tonjo142NOSPAM@yahoo.com> wrote in message
news:drt5l7$qms$1@sunce.iskon.hr...
> "tonjo" <tonjo142NOSPAM@yahoo.com> wrote in message
> news:drt5g5$q80$1@sunce.iskon.hr...
>> > "Tyrone Slothrop" <ts@paranoids.com> wrote in message
>> > news:lc24u1li65dc3hn8lq3jkc26tmktqoovb5@4ax.com...
>> > > On Thu, 02 Feb 2006 12:52:05 GMT, "Jim S." <jim@yeah.com> wrote:
>> > >
>> > >>hi, i have this
>> > >>$sql = "update products set smallpicname = $myfile where id=37";
>> > >>mysql_query($sql);
>> > >>i want the value of $myfile to be in the $sql , but it is not doing
> it,
>
> sry for last post, sent it to fast ...
>
> I think your variable $myfile is empty.
>
> Display it before sql statement and check.
>
> Then you have to check why is empty ...
>
> --
> �|� () |\|] ()
> ---
> Navigare Necesse Est,
> Vivere Non Est Necesse
> www.nautika.tk
>
>

[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

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