php - AJAX contact form with user data -
i have built contact form checks errors , submits using ajax. problem want take users data (email, first name, , last name) , store in database.
the contact form working fine until wanted accomplish second goal. database wordpress driven simple matter of wp_insert_user. php file needed header information access database added the_header() php file , entire function not work. have tested through firebug , should working nothing happens; no validation , no email.
the contact form here. wondered if figure out problem
http://www.divethegap.com/update/contact
any ideas? edit --
after misunderstandings in commentary have removed offending the_header() line php file. disable function have inserted users data database show how form works , line causing problem. problem may point out has not stopped of other ajax functions working.
Comments
Post a Comment