Home › Forums › CSS › Ajax posting in the same page › Re: Ajax posting in the same page
February 4, 2012 at 8:55 am
#96163
Member
I haven’t looked to see what else might be wrong but you are using a PHP variable in your script at the top outside of php
xmlhttp.open(“GET”,”$_SERVER[PHP_SELF]?person=”+person,true);
needs to be
xmlhttp.open(“GET”,”?person=”+person,true);