ok check this out..
$sql = "INSERT INTO users (uname) VALUES (\"$uname\")";
$uname works.. however i am echoing the $sql statement when the script is executed.
When the script is executed it just adds another line to the db and doesn't insert anything.. Here is why..
this is the echo out put
INSERT INTO users (uname) VALUES (". . ")adf
notice how the adf is outside of the ("") well it needs to be on the inside, yet i can't figure out how to get it in there.
Any ideas?
Thanks
Anthony