MySQL Forums
Forum List  »  PHP

Error while connecting to php ( working on curl)
Posted by: rashu dr
Date: May 11, 2007 02:03AM

<?php
$con = mysql_connect("localhost","user","pwd");
$db = mysql_select_db("db_name",$con);
?>

I have installed binary 7.14 open SSL, using curl package.Is It that makes any problem for connection of Mysql database..?
If connect this code to mysql, I am getting error as follow;

Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\curl_parsing\dbcon.php on line 2;

Why is it like this...? Even i have uncommented in C:/Windows/php.ini file mysql.dll & also in System32/php.ini.

But stil it is not get connected...plzz can any one suggest help to connect .. asp..? I am strucked out...?

Options: ReplyQuote


Subject
Written By
Posted
Error while connecting to php ( working on curl)
May 11, 2007 02:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.