Posted by Steve on 04/04/06 17:13
First, you need to make your life a little easier by seperating out the sql query: $sql = "SELECT * FROM my_table"; Assuming $db is a successful mysql_connect call... $result = mysql_query($sql, $db) or die ("<p>$sql</p>" . mysql_error()); If the query is bad, the script wont try to go any further
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming