Posted by macca on 10/10/07 17:54
To see if they are coming though the URL to the script okay, which they should be. echo $_GET['var1'] . "<br />" . $_GET['var2']; Try $var1 = mysql_real_escape_string($_GET['var1']); $var2 = mysql_real_escape_string($_GET['var2']); $query = "INSERT INTO log VALUES ('$var1','$var2')"; mysql_query($query,$conn) or die(mysql_error());
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming