I got this problem when I run php code to connect with database in mysql.. Can anybody help me? I'm stuck.
Error:
fatal error call to undefined function mysql_connect() in php
Php code:
?php
mysql_connect("localhost","root","") or die("Could not connect to database");
mysql_select_db("dadadsdb") or die("Could not select database");
?>