Jump to content

[SOLVED] POST not liking ampersand


paper_robots

Recommended Posts

First off , I'm using a jquery real text editor. Nice and simple. It even turns my &'s into &'s. However, I'm using an ajax post to put the text into a database. And it only saves everything before the ampersand. I've tried mysql_real_escape_string and htmlentities. I even tried not cleaning the variable but its still cutting off.

 

 

I alert my javascript variable before I send the ajax call and all my &'s are intact. But I'm echoing my $_POST['description'] variable and its cut off. Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/135826-solved-post-not-liking-ampersand/
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.