Skip to main content

All Questions

2 votes
2 answers
964 views

JQuery - Loading HTML into textarea

Ok, I have this php variable: <?php $htmlstring = '<p>This is a test email<br /><br /><br /></p> <p><span style="color: #808080; font-size: 12px; font-family:...
coffeemonitor's user avatar
0 votes
2 answers
232 views

mysql_real_escape_string not working on jquery load

This is very strange, but when I add the mysql_real_escape_string it doesn't load the page, this is the code that I load like this: $('.abandalink').click(function(){ var codigo_membro = $(this)...
steps's user avatar
  • 804
1 vote
3 answers
1k views

Can I encode my serialized form data with jquery $.post

I've run into an interesting problem. If I submit my PHP form the "tradtional" way with an action via post I capture the form data as follows: headline:I%27m+just+here+for+friends%21 I escape the ...
Paul's user avatar
  • 11.8k
0 votes
4 answers
1k views

PHP, jQuery and .post(): mysql_real_escape_string messes things up

I have been tearing my hair with this one for a while. index.php: $(document).ready(function(){ $(".index_login_subm").click(function(){ uid = $("input:username").val(); pwd = $(...
Mattis's user avatar
  • 5,096