Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tks_muthu on
hi all!
i got the error message while i am opening the php page.
"Call to undefined function mysql_connect()"
my source :
$db_name='sample';
$conn=mysql_connect('servername','username','password') or die('Error connecting to mysql');
mysql_select_db('db_name');
plz help.
Muthu
Comments
This may help....
Fatal error: call to undefined function mysql_connect()