some function about how to use PHP and MYSQL database
PHP and MYSQL
connect to mysql server
|
|
creat database
|
|
delete database
|
|
select database
|
|
create database table
|
|
delete database table
|
|
insert data
|
|
search data
|
|
|
|
|
|
free internal memory
|
|
Delete Data From MySQL
|
|
Update Data in MySQL
|
|
where syntax
|
|
like syntax
|
|
MySQL UNION
|
|
different country1234SELECT country FROM WebsitesUNIONSELECT country FROM appsORDER BY country;
all country1234SELECT country FROM WebsitesUNION ALLSELECT country FROM appsORDER BY country;
|
|
order by
|
|
GROUP BY
|
|
INNER JOIN
|
|
NULL
|
|
ALTER
|
|
index
[links] (http://www.runoob.com/mysql/mysql-index.html)
clone table
[links] (http://www.runoob.com/mysql/mysql-clone-tables.html)
database export
|
|
database import
|
|
handling duplicates
[links] (http://www.runoob.com/mysql/mysql-handling-duplicates.html)
using sequences
[links] (http://www.runoob.com/mysql/mysql-using-sequences.html)
sql injection
[links] (http://www.runoob.com/mysql/mysql-sql-injection.html)
database info
[links] (http://www.runoob.com/mysql/mysql-database-info.html)