problem creating a table

Total Post:10

Points:70

PHP 
PHP
 2030  View(s)
Ratings:
Rate this:
how to create a table in php and syntax of its
  1. Re: problem creating a table

    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);

      Modified On Mar-29-2018 03:41:06 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.