Ok, kinda of stumped on this and i've been away from PHP development for a while some i'm a tad lost.
I have a database search for where if you enter the name of a location and submit it queries the database and returns the matches, simple enough.
Now, what I would like to do is take the ID of the entry, let's say the restaurant_id and make the display name (rest_name) as a link with that id number and be able to populate a dynamic page with the restaurant details (which would query from 2 seperate tables in the same MySQL DB).
It would include details of the location, current items and list of past items. Now how would I go about carrying the id from one dynamic page to the other and also change the name returned into a link in order to create the other page and query the two tables?
Pardon me for being such a n00b ;)
I have a database search for where if you enter the name of a location and submit it queries the database and returns the matches, simple enough.
Now, what I would like to do is take the ID of the entry, let's say the restaurant_id and make the display name (rest_name) as a link with that id number and be able to populate a dynamic page with the restaurant details (which would query from 2 seperate tables in the same MySQL DB).
It would include details of the location, current items and list of past items. Now how would I go about carrying the id from one dynamic page to the other and also change the name returned into a link in order to create the other page and query the two tables?
Pardon me for being such a n00b ;)
Comment