iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (34)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

May 13, 2008
Rainbow Links
EarthWeb.com
 
May 13, 2008
MySpace Profile Page Resources
HTML Goodies
 
May 13, 2008
How to Upload Your Photos onto the Web
HTML Goodies
 
May 13, 2008
Email Marketing for MySpace Artists
HTML Goodies
 
May 13, 2008
Top Online Marketing Techniques
HTML Goodies
 
May 13, 2008
I want to create a site just like ____, is that a violation of...
About
 
Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
/Home /PHP /Database-Related

PHP & MySQL basics 

  Views:    15517
  Votes:    2
by John Doe 11/26/03 Rating: 

Synopsis:

This article will guide new PHP developers to create simple scripts interacting with a MySQL database.
Pages: firstback1 2 forwardlast
The Article

Other queryes examples:
Removing content:

REMOVE FROM table WHERE field = 'value'

Updating content:

UPDATE table SET field1 = 'value1', field2 = 'value2'

Selecting distint content:

SELECT name, email FROM table WHERE email = 'email value'


Useful functions:
mysql_num_rows - get table total rows -
www.php.net/mysql_num_rows
mysql_stat - show the mysql status - www.php.net/mysql_stat
mysql_info - show MySQL version info - www.php.net/mysql_info


More references:
MySQL manual:
http://www.mysql.com/doc/en/index.html
PHP official site: http://www.php.net

That's it! Hope this help you start using MySQL.

Pages: firstback1 2 forwardlast

Similar/related articles:


 
  Sponsors