This example illustrates how to create table in php.
In this example we create a table "emp_table" with three fields, "emp_id", "emp_name" and "emp_designation". The "emp_id" is integer type, not null, auto increment and primary key define. The "emp_name" is varchar type and the "emp_designation" is also the varchar type define. We insert three value by the insert query. Finally we fetched all rows and columns by select query.
Source Code of sql_table.php
Posted on: December 10, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles