i run that php program but it showing error?

Sunita

New member
<?php
include "mysql_connection.php";

$sql = "CREATE TABLE fry_link("
. " id INTEGER NOT NULL"
. ", url VARCHAR(80) NOT NULL"
. ", notes VARCHAR(1024)"
. ", counts INTEGER"
. ", time TIMESTAMP DEFAULT sysdate()"
. ")";
if (mysql_query($sql, $con)) {
print("Table fry_link created.\n");
} else {
print("Table creation failed.\n");
}

mysql_close($con);
?>
it showing error
 
Back
Top