Home › Forums › Other › How to make Chris’s contact form ajax? › Re: How to make Chris’s contact form ajax?
March 12, 2013 at 8:13 am
#127849
CrocoDillon
Participant
Sure you can, the php file I have is really simple (for demo only) but you can do everything with the POST data you want.
echo ‘Hello there, ‘.htmlspecialchars($_POST).’!’;
else
echo ‘Hello there, Mr. Smith!’;
Don’t mind me sending html back though, XML or JSON would probably be better (if you want to give feedback on validation errors).