Changes
Jump to navigation
Jump to search
← Older edit
PHP and MySQL
(view source)
Revision as of 11:41, September 3, 2014
442 bytes removed
,
11:41, September 3, 2014
Redirected page to
PHP#Databases
Line 1:
Line 1:
−
{{merge|PHP
#
Databases}}
+
#
redirect
[[PHP
#Databases
]]
−
'''PHP and MySQL''' are both [[free software]], and they work together well for making database-backed websites.
−
−
Methods for
[[PHP
]] to access MySQL databases all begin with the '''mysql_''' prefix.
−
−
The convention is to store a query statement in a variable like $query or $sql.
−
−
$query = "select * from employee";
−
−
Results by convention are returned to a varible like $result.
−
−
$result = mysql_query($query);
−
−
[[Category:Computer Science
]]
JoeyJ
Block, SkipCaptcha, Upload,
Automoderated users
, delete, edit, rollback
7,537
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Article
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
Special pages
Printable version