The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-13-2009
Sandia_man Sandia_man is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 17
Sending Post Parameters With Ajax

Hi!!!
I'm having a little problem with a web application I'm developing.
I need to send a query to a php script using post method of Ajax.
I created the variable where the query is stored and it looks like this:

consulta= barrio="Monserrat" or barrio="Palermo"&buscar=1;

this is in a variable called params...
The problem is that the php script never receibes de "consulta" variable, actually it receives it but it's empty...

I'm totally sure that the problem is that i need to scape same characters but i don't know how to do it... can someone help me????

Thanks!!!!