Area
Name:
Titolo:
messaggio:
data 2024-20.04

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\inetpub\webs\poochiepoohit\utility\usodatabase.php on line 32
tutto bene
$d_b="Sql120640_4";
$link= mysql_connect($host, $user, $pass)OR die ("Non riesco a connettermia al database");
mysql_select_db($d_b, $link)OR die ("Non riesco a selezionare il databasre");

soft

$sql_eventi=
mysql_query("CREATE TABLE soft (
ID int(10) unsigned not null auto_increment,
Name varchar(30) not null,
Title varchar(30) not null,
Message varchar(255) not null,
Date varchar(30) not null,
Time varchar(30) not null,
primary key (ID)
) TYPE=MyISAM");


logineventi

$sql_logineventi= mysql_query(
"CREATE TABLE logineventi (
idloginevento int(11) NOT NULL auto_increment,
username varchar(255) NOT NULL default '',
password varchar(255) NOT NULL default '',
data date NOT NULL default '0000-00-00',
nome varchar(255) NOT NULL default '',
cognome varchar(255) NOT NULL default '',
KEY idloginevento (idloginevento)
) TYPE=MyISAM");
$g=mysql_query("INSERT INTO logineventi VALUES (1, 'prova', 'prova', '0000-00-00', 'EEE', 'CCC')" );
if(! mysql_query($sql_eventi))echo"
tutto bene";
mysql_close();
$url = "/agenda";