Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to generate a create table script for an existing table in php/Codeigniter

//PHP
SHOW CREATE TABLE tablename
// FOR CODEIGNITOR
HOW CREATE TABLE $table_name";         
$query = $this->db->query($sql); 
echo '<pre>'; print_r($query->result());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #generate #create #table #script #existing #table
ADD COMMENT
Topic
Name
9+9 =