Jump to content

New to PHP/MySQL how to query database then use the found data


tmharrison

Recommended Posts

My database has the id_num and full url of a web page

 

I want a field on a web page so that if someone enters this id_num that it takes them to the associated web page that is in the database.

 

I have been reading Larry Ullman's PHP and MySQL book for a week i know that one of the answers will be the header() function, but I don't understand how to query the database and then keep that information and then use it in the header function.

 

I know this is probably something that is simple but, I just can't see it.

 

Thank you in advance for helping me out.

 

Tina

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.