Parašė Ptycka· 2007 Gru. 24 03:12:07
#10
<?php
include "maincore.php";
include THEME."theme.php";
echo "<meta http-equiv='Content-Type' content='text/html; charset=windows-1258'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>\n";
$sql = dbquery("CREATE TABLE ".$db_prefix."reitingai (
reitingai_id BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
reitingas DECIMAL( 20,2 ) NOT NULL ,
vartotojo_id BIGINT( 20 ) NOT NULL ,
PRIMARY KEY ( reitingai_id )
) TYPE = MYISAM ;");
if ($sql) {
echo "Duombaze; sukurta, galite trinti sql.php faila;";
} else {
echo mysql_error();
}
?>
Redagavo Ptycka· 2007 Gru. 24 03:12:28