You are here: Re: Query Problem « All PHP « IT news, forums, messages
Re: Query Problem

Posted by L�pher Cypher on 01/03/06 15:44

cover wrote:
> Geez, just found my syntax error - works fine now. Needed a blank
> space where there wasn't one in the code on the line above. Am
> posting the code just in case it might help someone else on a three
> table query.
>

A good practice is to see if the query actually executed :)

$result = mysql_query($query);
if (!$result) {
// log or output error
echo "Error executing query '$query': ".mysql_error();
retrun;
}


--

- lüpher
---------------------------------------------
"Man sieht nur das, was man weiß" (Goethe)

 

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

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