Jump to content

Recommended Posts

i am thinking of making a shipment tracking system and this is my logic:

 

user enters a tracking # in a text field. the form sends the number via _GET to a template php page.

 

the template page populates with a number of predefined fields fetched from the mysql database (for example: sender's name; sender's address; delivery date; etc.).

 

now, when the scripts see the number from the _GET, it will run a check with the mysql db to see if it exists.

 

if it does, then it will use all the other info related to the number in the predefined fields from the template. good.

 

and if it doesn't then i suppose i'll redirect to an error page.

 

i have two questions:

 

1) how do I check the _GET result with the db table

2) how do I fetch the mysql results only for the _GET result?

 

Any suggestion are greatly appreciated, thanks!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.