Forums
This topic is locked
which part is whick
22 Jul 2003 18:08:26 shumon h posted:
Action = searchresults_parcel.php?parcel=$parcel_idI just want to know in the above statement. Can someone explain to me what each part mean. I understand that form is sending the info to searchresults_parcel.php to display. Now, Explain to me what "parcel=$parcel_id" means. Meaning where does parcel come from and where does $parcel_id come from
Wanna be WebDESIGNER
Replies
Replied 23 Jul 2003 13:37:28
23 Jul 2003 13:37:28 Iain Stewart replied:
Basically what that is doing is filtering a database.
Parcel is probably part of a databse a colum that would contain the parcel ID for all the parcels in the database which would be unique. $parcel_ID is a varible that you would enter into a search form to look for your parcel.
when you go to the results page it would only diplay parcel=$parcel_id ie. only the parcel that has the same id as the entered varible $parcel_ID i.e list the details of your parcel
Iain
head hurts, 'mental note to self, stop banging head !'
Parcel is probably part of a databse a colum that would contain the parcel ID for all the parcels in the database which would be unique. $parcel_ID is a varible that you would enter into a search form to look for your parcel.
when you go to the results page it would only diplay parcel=$parcel_id ie. only the parcel that has the same id as the entered varible $parcel_ID i.e list the details of your parcel
Iain
head hurts, 'mental note to self, stop banging head !'