Page 1 of 1
Put result of mysql query into hyperlink to search database
Posted: Wed Sep 03, 2008 7:26 pm
by phillyrob
I am trying to take a result from a database query and put it into a hyperlink or into a (submit button that I will call edit button) to allow a database to query again. In other words if a query returns several items for sale, with the same name, but differerent prices, I want a user to be able to click on a link and edit info on their one particular item based on the id #. I am confused. Please help.
Re: Put result of mysql query into hyperlink to search database
Posted: Wed Sep 03, 2008 11:52 pm
by starram
Simply pass that products id in the hyperlink and then on the hyperlink page you can create a form to edit the values of that product.
Re: Put result of mysql query into hyperlink to search database
Posted: Sat Sep 06, 2008 9:11 am
by phillyrob
Thanks starram it worked like a charm.
Re: Put result of mysql query into hyperlink to search database
Posted: Sat Sep 06, 2008 11:10 am
by starram
Wow, its great to know.