$query = mysql_query("INSERT INTO tabella ( `campo1`, `campo2`)
VALUES ('$_POST[var1]', SELECT xxx from tabella2 WHERE campo2=$_POST[var2])");
qual è la sintassi giusta per inserire il secondo valore (che è numerico) ?
Grazie anticipatamente
$query = mysql_query("INSERT INTO tabella ( `campo1`, `campo2`)
VALUES ('$_POST[var1]', SELECT xxx from tabella2 WHERE campo2=$_POST[var2])");
qual è la sintassi giusta per inserire il secondo valore (che è numerico) ?
Grazie anticipatamente
ade_v@yahoo.it
Fletto i muscoli e sono nel vuoto
Se inviate messaggi privati, avvisatemi sul forum...