Sponsored By
MindStick SurveyManager
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> Other Programming >> PHP >> problem creating a table
Author Post

Manasavi Rajpoot


Total Post: 10
Member Since: 11/16/2010
Points: 52
problem creating a table
Posted On: 12/20/2010 1:18:53 AM
how to create a table in php and syntax of its
Author Post

Amit Singh


Total Post: 104
Member Since: 8/8/2010
Points: 702
Re: problem creating a table
Posted On: 12/24/2010 9:45:26 AM
Creating table in php
by using syntax:

mysql_select_db("my_db", $con);//Select the Database
$sql = "CREATE TABLE Persons   //Create the Table
(
FirstName varchar(15),
LastName varchar(15),
Age int
)";

// Execute query
mysql_query($sql,$con);

Report Abuse Form
Reason:    
 
Total Online Users: 2987
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2009 - 2013MindStick. All Rights Reserved.