^ thanks guys for your response, but i've realised that this way will be too complicated for what i need it for, so instead, i'll be displaying a dynamic link on each page of the site (web directory)
the link will have right catagory and subcat within it, so the processor file will just display the names for the catagy the user is about to submit to. .
my question now is,
my site will be only one page(static) every other page will be dynamic.
i'm using something like this
www.mysite.com.com/index.php?catid=4&subid=22
in the php file i have this code
i know my synax is wrong here , i'm just typing rough
if isset(catid) && isset(subid)
{
echo 'the code for my form';
}
form action will be the same file
the question i have is how do i process the form inthis file and how would i display the confirmation on successful submition?
i don't want to use another page coz that will make it harder to manage stuff in the long run.