You are here: Re: [PHP] PHP/MySQL noob rides again.. into trouble « PHP « IT news, forums, messages
Re: [PHP] PHP/MySQL noob rides again.. into trouble

Posted by Paul Jinks on 12/16/05 15:21

David Grant wrote:

> $SQLQuery = "SELECT * FROM project WHERE projTitle = '" .
> $HTTP_GET_VARS['projTitle'] . "'";

Yep, that fixed it. Thanks. I had a feeling there was a mix up with the
"s and 's. What's with the . s?

> Not sure why you've got the or die() there.

I had the idea that you could put an or die() after any command and it
would tell you that it had screwed up at that point. Bad idea?

Many thanks

Paul

 

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

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