nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

errore query php

Von: cobra90nj@gmail.com (cobra90nj@gmail.com) [Profil]
Datum: 04.09.2008 04:26
Message-ID: <92596d92-be0f-49c1-976e-97380b7e4c23@r15g2000prh.googlegroups.com>
Newsgroup: it.comp.www.php
salve ho il seguente code:

if (isset($ss)) {
mysql_connect($host, $use , $password) or die('Could not connect to
mysql server');
mysql_select_db($name) or die ('Could not exists database');
mysql_query("INSERT INTO $table ( nome,  dat_a ) VALUES ( $user,
date() )") or die ('Query not valid');
mysql_close();
}

il problema è che non eseguo neanche la richiesta e mi stampa sempre
Query not valid lol
come posso fa ? dove sbaglio ? ho provato parecchio e non mi esce una
soluzione  . . .


grazie . . .

[ Auf dieses Posting antworten ]

Antworten