PHP - MySQL functions
About this set
Created by:
chromedude on January 22, 2011
Subjects:
functions, php, mysql, web development
Log in to favorite or report as inappropriate.
Order by
8 terms
Terms | Definitions |
|---|---|
mysqli_connect() | connect to the MySQL database. takes (database host, database user, database password, database name) |
mysqli_query() | make a query to the MYSQL database. takes (connection information, query) |
mysqli_connect_error() | gives the error if there is a connection error. takes no arguments |
die() | kills the attempted connection to MySQL if it does not connect properly. takes the error to display |
mysqli_error() | gives the error (if any) for the mysqli_query(). takes (database connection) |
mysqli_fetch_array() | gets the array of the results from the MySQL query. takes (results variable) |
mysqli_close() | closes the MySQL connection. takes (database connection) |
urlencode() | encodes text for urls. ex. spaces = %20 |
First Time Here?
Welcome to Quizlet, a fun, free place to study. Try these flashcards, find others to study, or make your own.