Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I assign urls from a mysql database to a button

Status
Not open for further replies.

nichols

Technical User
May 24, 2001
92
GB
I have some dropdown boxes with records from a mysql database. I want users to be able to select one of the options and it direct them to a new page which will have a table listing records which tie in with the search criteria.

However there is one field which has urls of pages that the searcher may want to visit. I want for each result returned for there to be a button at the end of the table row which says something like 'click here to go to this page' and the relevant url for that record to be assigned to that button as a hyperlink. Is this possible and if so how do I go about doing it?

 
will that not just display the html code on the page though?
 
No, because a browser will render HTML... that's what it does.

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top