I am going off of suneel's sticky, but some parts I don't understand.
" ...copy the /extensions/php_mysql.dll to the directory where php.exe resides.(if you can't find the two above files probably you are using an old release of php 5.you should check for latest at :http://snaps.php.net/)"
I have php-cgi.exe instead of php.exe should I replace it?
"in additon uncomment extension line in php.ini"[/COLOR=blue]
should I uncomment
;extension=php_mysql.dll
"and add the following code to a gnereal database file(dbcon.php) in my case and include it in each file which needs access to datanase.
if (!class_exists('mysql')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
dl('php_mysql.dll');
else
dl('php_mysql.so');
}"[/COLOR=blue]
I don't have a dbcon.php file, which one should I add this code too?
sorry for the long post