I think it is aliased to mysql_db_query(). However the documentation states
that this function is deprecated in PHP4.0.6.
Note: This function has been deprecated since PHP 4.0.6. Do not use this
function. Use mysql_select_db() and mysql_query() instead. (www.php.net
documentation)
My question is why is my code still working? If so, what are the
consequences of using mysql() or mysql_db_query(0 with PHP4.0.6?
/dkm
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: Dennis Moore [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 4:23 PM
Subject: Re: [PHP] Function Alias: mysql()
Are you sure that isn't a custom function in your code (assuming you're
using somebody else's code)?
It could be an alias to: mysql_db_query()
It has the same handlers, ex:
$rez=mysql_db_query($dbname,$query);
Tyler Longren
- Original Message -
From: Dennis Moore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 3:12 PM
Subject: [PHP] Function Alias: mysql()
I cannot seem to find in the documentation the what the function mysql()
is
aliaseed to using PHP4.0.6. Any ideas?
Example:
$rez=mysql($dbname,$query);
Everything works fine... But I want to be sure what is actually being
used.
/dkm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]