Hi,
If I try to connect to mysql server using the following function, it gives me error.
my statements in php script :
--------------------------
$dbuser='rajesh';
$dbhost='localhost';
$dbpass='mypass';
$dbname='rajesh';
$mysql_link=mysql_connect ($dbhost,$dbuser,$dbpass);
error returned by browser :
-------------------------
Fatal error: Call to unsupported or undefined function mysql_connect() in
/usr/local/httpd/htdocs/bookex1.php3 on line 14
However If I try to connect to mysql database using command line client mysql it works
fine.
What could be wrong ?
--
Rajesh(ALIAS Shriram) Fowkar
--------------------------------------------------------------------------------
How I Configured my SiS6215 Card ?Visit:http://rajesh.computers.webjump.com/linux.html
Web Site : http://rajesh.computers.webjump.com/ Email :[EMAIL PROTECTED]
Address : KURTARKAR NAGARI, BLDG-C, FLAT NO. T4, THIRD FLOOR, SHANTINAGAR,
PONDA - GOA. (INDIA) PHONE : (0832)315932
Do not dwell in the past, do not dream of the future, concentrate the mind
on the present moment. - Buddha
Scandisk is now checking your hard disk. You can start praying. - Anon. :-)
---------------------------------------------------------------------------------
-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting. The site is
at http://botsie.tripod.com/beforeposting/