Networking, Programming and Graphics Tutorials

MySql select * from [1/2]

Type: Code Networking, Programming and Graphics Tutorials
MySql select * from
Level: Beginner Networking, Programming and Graphics Tutorials 
MySql select * from
Date: 2007-Jul-06
MySql select * from
Visited: 1148 times
MySql select * from
Rating: MySql select * from
MySql select * from
Author: Ivory Morhuld

This tutorial will show you how to use MySQL querys to database in your PHP scripts.

mysql_query(query, [link_identifier])


mysql_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If link_identifier isn't specified, the last opened link is assumed. If no link is open, the function tries to establish a link as if mysql_connect() was called with no arguments, and use it.

In next examples we will teach you how to make more querys.

<?php
$quety
="select * from table";
$result=mysql_query($query);
?> 
Above example will return you:

ID Name Sex Age
1 John Smith Male 33
2 Barbara Roland Female 28
3 Kate Winston Female 22
4 Peter Trump Male 46
5 Andrea Gilbert Female 37
Networking, Programming and Graphics Tutorials - MySql select * from [1/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: select inside select mysql  mysql SELECT from select query  mysql select inside select  php select from mysql SELECT * FROM  php select from mysql SELECT * FROM  mysql "select from select"  php mysql select  mysql select * from where and