PHP

 0    4 flashcards    sir
download mp3 print play test yourself
 
Question Answer
Connects with a MySQL server.
start learning
connection mysql_connect([server "localhost: 3306", user ="root", passwd= "", new_link, client_flag])
client_flags: A combination of the following constants − MYSQL_CLIENT_SSL; MYSQL_CLIENT_COMPRESS; MYSQL_CLIENT_IGNORE_SPACE; MYSQL_CLIENT_INTERACTIVE − Allow interactive timeout seconds of inactivity before closing the connection.
Closes a connection with mysql.
start learning
mysql_close(⟦connection⟧)
Sends a query to the database and gets the outcome.
start learning
mysql_query(sql[, connection= ``The last one.``])
Representation of mysql error.
start learning
mysql_error()

You must sign in to write a comment