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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.