Hi,
Anyone who could help with this would be greatly appreciated.
I have a group of drop down select blocks with options in them. 5 blocks in total with say 5 options within each. All contained within a form.
The select blocks are all representing pages in a web site.
So the first block is anything associated with the home page.
The second being a portfolio.
The third being services
and so on…
Within the same html page the user will be able to add text to go into the page they have selected from the drop downs mentioned above.
In order to do this i need to pick up the selection with REQUEST and use it in a function.
Surely the best way is not using alot of issets?
[code=php]
$home=$_REQUEST[‘home’];
$about=$_REQUEST[‘about’];
$services=$_REQUEST[‘services’];
$portfolio=$_REQUEST[‘portfolio’];
$contact=$_REQUEST[‘contact’];
if(isset($_REQUEST[‘home’]))
if(isset($_REQUEST[‘about’]))
if(isset($_REQUEST[‘services’]))
if(isset($_REQUEST[‘portfolio’]))
if(isset($_REQUEST[‘contact’]))
Then carry out the function on whatever one is set?
I’m new to this as you can probs tell.
Any ideas on the best way to do this?
Thanks
a.g.r.c