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]
|