$db = mysql_select_db("pinehead", $con) or die(mysql_error());
$sql = "INSERT INTO users (uname) VALUES ('$uname')";
$sth = mysql_query($sql) or die(mysql_error());
Ok, the var $uname will echo the correct information associated with it. The code will add another row to the db however it does not add anycontent so lets say $uname = "me";
The script will ad another line without anything under uname so "me" is not getting into the db.
Any ideas?
Thanks
Anthony