Jump to content

USING MySQL to store news page???


janhoye

Recommended Posts

sup peps,

 

here is a question for all of you....

 

here is my dillema: let\'s say i have three files (please check my little clumsy figures to better understand what I need); main.php, catagoreyview.php, and listview.php....

 

when my user enter my page... i want him/her to see the main.php page... it has four or more catagories in it....

 

when the user clicks \'Catagorey 1\', it then open the information in catagorey 1 in the catagoreyview.php file.... then when the customer click \'List 1\', it then opens a the information in the \'list 1\'...

 

it sounds like a very complicated problem. I tried so hard to figure out, but no luck... I saw it done in many sites as http://www.anythingonethiopia.com/aoed/tra...ainCategoryId=2

 

MY QUESTION TO YOU ALL IS:

WHAT IS THE MOST EFFICENT WAY TO WORK OUT THIS PROBLEM

 

before I let you go, how can you tell the user\'s location.... say he is in List 1.... how can I print \"You are in Catagorey 1 > List 1\"

 

assume that these are the pages.... sorry about the messy look... they were suppose to look rectangles...

----------------------

| main.php |

| |

| Catagorey 1 |

| Catagorey 2 |

| Catagorey 3 |

| Catagorey 4 |

| |

----------------------

 

----------------------

| catagoreyview.php |

| |

| Catagorey 1 |

| List 1 |

| List 2 |

| List 3 |

| |

----------------------

 

----------------------

| Listview.php |

| |

| List 1 |

| Description |

| |

| |

| |

----------------------

Mike

Link to comment
https://forums.phpfreaks.com/topic/404-using-mysql-to-store-news-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.