خرید بک لینک
I'm not a regular in coding. I'm not familiar if there are new ways to code in PHP but here's what I have which isn't working:
PHP Code:

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

I'm getting:
Unknown table 'myportfolio.the_new_kjv_table'

برچسب: نویسنده: آیلین رضوانی تاريخ: سه شنبه 5 دی 1396 ساعت: 14:37

صفحه بندی