Forum Moderators: coopster

Message Too Old, No Replies

Page linking

         

yllai

3:59 am on Apr 27, 2004 (gmt 0)

10+ Year Member



In my first page, I have some option for user to choose..let said it gave category one, category two..all these I script in index.php....fine

Now, I want when user click on Category one, thy will link to another page that displaying all the items in category one which I will script in category_one.php..How can I do it?Do you have any example of these or any other similar information?

WhosAWhata

4:16 am on Apr 27, 2004 (gmt 0)

10+ Year Member



maybe you could be a little more specific...how is your site formated? where do you store product info?

yllai

5:18 am on Apr 27, 2004 (gmt 0)

10+ Year Member



the option for choosing categry was in index.php, in index.php have script like

switch($op){
case "one":
//Link to category_one.php
break;

case "two":
//Link to category_two.php
break;

default:
menu();
break;
}

the category_one.php and category_two.php was in same directory to index.php, so how to link it?