Re: [PHP-DB] Help w/ displaying return vals

2001-03-15 Thread Russ Michell
Ryan: The followoing error message: Warning: Supplied argument is not a valid MySQL result resource means that a php function hasn't been supplied witht the correct number of arguments. Try the following: $link = mysql_connect("host","yourusername","yourpassword") or die("Died at

Re: [PHP-DB] Help w/ displaying return vals

2001-03-14 Thread JJeffman
Use mysql_function(...) or die( mysql_error()) on every mysql function or command you're performing, this will tell you what is going wrong . HTH Jayme. -Mensagem Original- De: [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Enviada em: quarta-feira, 14 de maro de