i.e hyperlinks?
I would like to control my site navigation using php.
I have a main and a sub navigation bar which in turn controls content in the main page area.
I wanted to pass variables using post / get to remember which page i should be on. But i have no idea how to do this and the only examples of post/get i have seen use forms.
Great answer mike but it still doesn't answer the main issues I am having.
The hyper link method you suggest only passes one variable. if i need to pass 2 independently. one for the subcategory navbar, and one for the actual page content as determined by the subcat navbar. im stuck as these variables will need to be tracked independently of each other as they cant both be included in the same hyperlink.
also how would i go about using a $_GET variable such as "name" to then display "name".php?
I would like to control my site navigation using php.
I have a main and a sub navigation bar which in turn controls content in the main page area.
I wanted to pass variables using post / get to remember which page i should be on. But i have no idea how to do this and the only examples of post/get i have seen use forms.
Great answer mike but it still doesn't answer the main issues I am having.
The hyper link method you suggest only passes one variable. if i need to pass 2 independently. one for the subcategory navbar, and one for the actual page content as determined by the subcat navbar. im stuck as these variables will need to be tracked independently of each other as they cant both be included in the same hyperlink.
also how would i go about using a $_GET variable such as "name" to then display "name".php?