Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Adding "'s to a $_POST value
August 12, 2005, 4:19 pm
rate this thread
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
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum