triggering email AND inserrting record
I know i've asked something similar once before but hopefully you can point me at a quick fix.
habve a page that i want to insert a form into database AND send an email with contents.
tried the behaviours both ways round, but the page doesnt do the functions or redirect to enquirythanks.php, just loads itself again and sticks.
any ideas from the files atached?
thanks guys. hope all well