The old "mysql" extension is not marked deprecated,
AFAIK. You should, however, use the mysqli extension if MySQL is version 4.1 or later.
> I've do it, but I've got
> ;extension=php_mysql.dll
> by default and it continues without working.
You must uncomment the extension to install it, by removing the semi-colon from in front of it, assuming you are on Windows. You'll also have to place the libmysql.dll file in the system path. Read all about that on the
http://www.php.net/mysql page, or
http://www.php.net/mysqli if you're using MySQL 4.1 or later.
If you're on a Linux server, you'll want to do something like
yum install mysql mysql-server php-mysql php-mysqli
Or find the RPMs and install them that way, or install from source.
HTH!
Regards,
Rich
--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results
http://www.catb.org/~esr/faqs/smart-questions.html