This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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,
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
Joined: Jun 08, 2003
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,
Joined: Nov 08, 2001
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