RE: [PHP-DB] mysql_select_db() and mysql_query()

2002-11-30 Thread John W. Holmes
A friendly error message advised me that mysql_db_query is deprecated and to use mysql_select_db() and mysql_query(). but I can't seem to get past this return in the Browser: Parse error: parse error in c:\program files\apache group\apache\htdocs\crup_hs_local\result.php on line 58. I

[PHP-DB] mysql_select_db() and mysql_query()

2002-11-29 Thread Dan Martin
A friendly error message advised me that mysql_db_query is deprecated and to use mysql_select_db() and mysql_query(). but I can't seem to get past this return in the Browser: Parse error: parse error in c:\program files\apache group\apache\htdocs\crup_hs_local\result.php on line 58. I think I

Re: [PHP-DB] mysql_select_db() and mysql_query()

2002-11-29 Thread Beth Gore
Hi Dan, Dan Martin wrote: group\apache\htdocs\crup_hs_local\result.php on line 58. I think I don't understand the basic syntax. /*$result = mysql_db_query($dbname,$sql);*/ /*mysql_db_query is deprecated; use mysql_select_db() and mysql_query()*/ $result = mysql_select_db($dbname) or