html5 - How to debug "No database selected" error using MySQL and PHP? -
i face error
error: insert biodata('fname', 'lname', 'email', 'phone', 'message') values('syed', 'masroor', 'masroor_toori@yahoo.com', '0215586484', 'dhflhdfvh',)
no database selected
sql query:
i have made database here:
connect db connection properly
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $db_selected = mysql_select_db('db_name', $link);
Comments
Post a Comment