Hi guys
Im currently making a taxi website for a client and in my wordpress page i have coded a php form, the form works fine until when you come to submit it i get a 404 error? I know this is because the page title is coming before the action attribute as such....
<form style="text-align: left;" action="pagebooking.php" method="post">
this is at the top of the form, and for the otherhalf of the form i have
<form method="post" action="pagebooking.php">
but when i click the submit button on the page it goes to
make-a-booking/pagebooking.php and thus returns a 404?
Ive tried making a pagebooking.php and adding the code to the page but that didnt work and ive also tried adding the code at the bottom of the page but that also didnt work? Anyone else have any ideas?