Posted by Ant on 08/12/05 18:41
Hi,
I'm a bit of a newbie to php.
I have some values that I'm getting via the post method which I want to
include in an sql statement - the problem is I need to enclose the value in
"'s but I dont know how.
e.g $id = $_POST["id"];
so, if $id = monkey I want to turn it into "monkey"
Any help much appreciated - I'm sure it's something obvious and I'm just
being thick.
Navigation:
[Reply to this message]
|