$dbTable13 = "the_new_kjv_table";
$con = mysql_coect($serverHost, $username, $password);
if (!$con){
die('Could not coect: ' . mysql_error());
}
mysql_select_db($dbname, $con);
try {
$db = new PDO("mysql:host=localhost;dbname=myportfolio", "root", "");
}catch(PDOException $e){
echo $e->getMessage();
}
$sql = "CREATE TABLE IF NOT EXISTS ".$dbTable13."(
id MEDIUMINT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,
book INT(3),
book_title MEDIUMTEXT(),
recordType TINYTEXT(),
chapter INT(3),
verse INT(3),
book_spoke INT(3),
chapter_spoke INT(3),
verse_spoke INT(3),
text_data MEDIUMTEXT(),
strongs LONGTEXT(),
transliteration MEDIUMTEXT(),
etymology MEDIUMTEXT(),
etym_strongs MEDIUMTEXT(),
)";
$createTable = $db->exec($sql);
//$db->exec($sql);
برچسب:
نویسنده: آیلین رضوانی