First, I am very new to WP, I didn't set up our site and know very little about it, I'm simply adding some PHP/MYSQL code to the pages. To say I'm a noob is putting it mildly.
I've created an HTML Form, set action="" to return to the same page with a few variables, but clicking Submit sends me to the website's home page, not the current page. The URL string has my variables in it, so the form's being submitted but to the wrong page. I've tried several other variations of action ( $_SERVER['PHP_SELF'] ) but they do the same thing. If I type the full URL of the current page is still goes to the home page.
Any idea why it's doing this and how to fix it? Seems like a simple thing but like I say I'm very new to WP and really have no idea how it's set up. Any help would be greatly appreciated, this is the only thing that's keeping my forms from going live.
Thanks
Tom