You are here: Re: Update fails « PHP Language « IT news, forums, messages
Re: Update fails

Posted by Rik on 07/17/07 02:51

On Tue, 17 Jul 2007 04:42:30 +0200, Kevin Raleigh <kraleigh@sbcglobal.ne=
t> =

wrote:

> The following code seems to be failing. Can you check my logic?
> I am using this //>> notation in the body of the code to indicate my
> questions and
> comments
> $check =3D mysql_query("SELECT * FROM user WHERE id =3D '$userID'")or =
=

> die("query
> failed!");

What is in $userID? Try to echo the query before performing it.



-- =

Rik Wasmus

 

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

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