Okay, I need to output the following in the following format:
Make Type Price Location Vehicle_ID link
Honda Sedan $12,999 North 123456 xxx
Cadillac suv $14,999 West 123333 xxx
Ferrari convert $39,999 West 123555 xxx
.
.
.
The part where there the heading is a link is where the problem really is.I can query and
spew out the results as above.The xxx is supposed to be a clickable link to an "I am interested" form page where the vehicle_id in the form must correspond .Hence, the user only needs to add in other info like contact..I am having problems in getting the vehicle_id of the car to appear on the form straightaway when the user clicks on the link..I need to get this working asap...
Help!!!!
Php help in database form links..Help!!!
Moderator: General Moderators
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
pass the Vechicle_ID value in the link:
Then on the interested page you can get the vehicle ID by using:
Code: Select all
<a href="interested.php?id=$Vehicle_ID">link</a>Code: Select all
$_GET['id']