On Saturday 08 December 2001 05:28, Chris Payne wrote: > Hi there everyone, > > I've just reinstalled Windows 2000 for the second time, and I am still > getting errors when I try to read MySQL databases - especially from within > Myadmin (But also through other code I have written myself). > > I'm using the latest build of PHP and the latest build of Perl and MySQL - > and I keep getting this error when I try to view records inside the DB: > > > > > Warning: mysql_db_query is deprecated; use mysql_select_db() and > mysql_query() instead in c:\inetpub\wwwroot\myadmin\lib.inc.php on line 506 > 0 > > > The line number differs obviously for each entry I am trying to display. > > Does anyone have any ideas/thoughts on this?
The message is quite clear -- the functions you're using has been deprecated and you are advised to use the newer functions. Look them up in the manual and replace the old functions with the new ones in your code. If you want to turn off the warnings there is an option in php.ini where that can be set. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* How much does she love you? Less than you'll ever know. */ -- PHP Database 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]