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.

http://www.divethegap.com/update/contact/


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -