Posted by Sam on 10/14/25 11:32
>> <?php echo "<a href='http://$url_to_page?ID=$id&Zip=$postcode&'><img
>> src='images/ugglypicture.png' border='0'></a>"; ?>
>> You need to set the $url_to_page to which page to load and $id needs to be set
>> to the user id while $postcode needs to be set to the post code.
Thanks so much for the quick reply!!
This kind of makes sense - but will this work for multiple rows - each
with their own button.
For example - this is what my HTML table may look like:
England HP19 3TY 10/08/2006
<<button>>
America 11798 01/01/2006
<<button>>
The buttons are not actually part of the table. Now - if I click either
of the buttons, I want the postode and date for the adjacent row to be
sent to the page as in your example - but how do I link each button to
each row - if you see what I mean? The rows are a simple HTML table and
the button would be a separate gif/png/whatever that sits adjacent to
each row....
How could I get your example to work in this scenario?
Thanks!
Sam Day.
Navigation:
[Reply to this message]
|