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:

sql query

i have made database here:

database

connect db connection properly

$link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $db_selected = mysql_select_db('db_name', $link);


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -