View Single Post
  #2 (permalink)  
Old 05-10-2008, 05:40 PM
Till's Avatar
Till Till is offline
Administrator
 
Join Date: Jan 2002
Location: Berlin, Germany
Posts: 1,453
This has been answered a gazillion times, already but anyway:
PHP Code:
$res mysql_query("your query here");
if (!
$res) {
  echo 
mysql_error(); exit;
}
while(
$arr mysql_fetch_array($res)) {
// etc. pp.

Reply With Quote