In case this wasn't clear... > On quick inspection, function mysql_fetch_assoc only takes one parameter... > this might be a problem. mysql_fetch_assoc Try Removing the second parameter from function mysql_fetch_assoc, i.e. take out the MYSQL_ASSOC to read $row = mysql_fetch_assoc($result); Carlos Hoyos