use anchorlinks to get data from the database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • savyatha
    New Member
    • Mar 2007
    • 9

    use anchorlinks to get data from the database

    there are 4 anchorlinks. if i click the first one i need to get the items from the database related to that hyperlink.
    for ex, if i click the products link, ill get 4 categories. now if i click on a particular category , i have to get the items in that particular category from the database.
    how can i do this?
  • devsusen
    New Member
    • Feb 2007
    • 136

    #2
    Originally posted by savyatha
    there are 4 anchorlinks. if i click the first one i need to get the items from the database related to that hyperlink.
    for ex, if i click the products link, ill get 4 categories. now if i click on a particular category , i have to get the items in that particular category from the database.
    how can i do this?
    send the specific id for that link to a php page where u can fetch all the data related to that category from the database. Then show them again as link. Each link will have different id. So if u click any of those link it can fetch info form database as u have done previously.

    Is it clear to u?

    susen

    Comment

    • savyatha
      New Member
      • Mar 2007
      • 9

      #3
      sir,
      thank you v much for responding to my thread. but........ as i am new to php, html im unable to understand exactly what u have said. so, i request u sir to please send me the code or atleast the syntax for what u have said as early as possible. or please clearly explain the code again. we need to submit the project within 3 days. so , please help me, sir.
      also can i use the id's concept in php. generally i have seen the concept of id in javascript. so, iam little bit confused. please make me clear about all these.

      Comment

      Working...