I'm using PHP and it's going awesome, but I have a little problem. I have a news script working, but I can't seem to use apostrophes. I use I'll it replaces it with I'll, and that's with that's. It's weird, anyone know how to fix this?
I'm using PHP and it's going awesome, but I have a little problem. I have a news script working, but I can't seem to use apostrophes. I use I'll it replaces it with I'll, and that's with that's. It's weird, anyone know how to fix this?
http://ca3.php.net/manual/en/function.stripslashes.php =)
Thanks.
When I use addslashes($whatever), is it safe? I recieve data and want to echo it onto the screen, the data is recieved via POST.
Never mind.
If you're simply displaying data, then you shouldn't need to care too much about the quotations.
You might want to be careful about tags though. ([<], [>])Someone could easily do something like<?phpformat_server();?>and if you display it freely on a .php page, then you'll have a problem.Why, don't you do that in your blogs?
We can use html.