Jump to content

[SOLVED] quotes in and out of sql


Zeradin

Recommended Posts

I have this to insert a title into a news table:

$title = mysql_real_escape_string($_POST['title']);

 

and then I insert it, but when I look at the table if the title was

"quotes"

the title in the table is still just "quotes" the quotation marks are still there... that wouldn't be a problem, but when I go to mysql_fetch_assoc out of it it doesn't read past the quotes. how do i fix this?

Link to comment
https://forums.phpfreaks.com/topic/123934-solved-quotes-in-and-out-of-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.