Forum Moderators: coopster
i use this
mysql_query($dq) or die("<p>".mysql_errno().": ".mysql_error()."<BR>");
so that if the query bombs i get the proper error message and can figure out what happened. I also echo the query before firing it off during development so that i can see what i have constructed and get a better look at it.