J
JMARIE
Guest
this is the database info to make one
"CREATE TABLE omgruser_commentscript_comments(
`commentid` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tutorialid` INT( 11 ) NOT NULL DEFAULT '0',
`name` TEXT NOT NULL ,
`url` TEXT NOT NULL ,
`comment` TEXT NOT NULL ,
`email` TEXT NOT NULL ,
`date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE = MYISAM"
yet i want to insert it on the php script i have already, how do i add it in the beginning of the php script like required
<?
$db_hostname = "localhost"; $db_username = "......"; $db_pass = "......"; $db_name = ".........";
"CREATE TABLE omgruser_commentscript_comments(
`commentid` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`tutorialid` INT( 11 ) NOT NULL DEFAULT '0',
`name` TEXT NOT NULL ,
`url` TEXT NOT NULL ,
`comment` TEXT NOT NULL ,
`email` TEXT NOT NULL ,
`date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE = MYISAM"
yet i want to insert it on the php script i have already, how do i add it in the beginning of the php script like required
<?
$db_hostname = "localhost"; $db_username = "......"; $db_pass = "......"; $db_name = ".........";