Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: nariu vertinimas

Parašė qwert· 2007 Bir. 19 18:06:58
#34

<?php
include "maincore.php";
include THEME."theme.php";
echo "<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>
<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 "Duombazë sukurta, galite trinti sql.php failà";
} else {
echo mysql_error();
}
?>




cia is mlm_panel
sql.php failas

<?php
include "maincore.php";
include THEME."theme.php";
echo "<meta http-equiv='Content-Type' content='text/html; charset=windows-1257'>
<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 default '',
vartotojo_id BIGINT(20) NOT NULL default '',
PRIMARY KEY (reitingai_id)
) TYPE = MyISAM;");
if ($sql) {
echo "Lentelė sukurta, galite trinti sql.php failą";
} else {
echo mysql_error();
}
?>

o cia is scriptu biblioteka

o lenteliu neina sukurti

Redagavo qwert· 2007 Bir. 19 19:06:44