• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hyperlinking

 
Murasoli Maran
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i am using mysql as database.
i am having a search page.which searches products from products table according to keyword.
the search lists items.
i wanna provide hyperlinks for results and when user clicks on that hyperlink a wanna display that perticular product details which is in another table.(now it's not listing as links)
how to achieve this?.anyone experienced plz share,
regards,
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whenever you are ouputting your results, you basically just need to show the url. You just need to look at how you are going to do the url?
things you need to look at is using quereyString or hardcoding the product page.
Eric
 
Murasoli Maran
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But the output is from database.and my database(not done by me) did'nt contain URL field.it's listing data from table.
how to create a URL that'll bring me the desired page?.

i mean i wanna make results as hyperlinks.so by clicking hyperlink,the system should show the page(perticular product page).
how to achieve this?.i think it's a common problom.most sites having this feature.
anyone experienced ..plz,
regards,
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is the product linked to the url
You need to make some sort of relationship between the two.
The database has no meaning if you can make sort sort of relationship.
I personnaly would do a query string with a lookup to get the information, but it sounds like you have all of the infomation hard coded into html.
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic