|
-
Oct 9th, 2010, 09:18 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Pass variable with url
im trying to use the following to pass the value id in a url within a report with now luck
Code:
<td><font size="1" face="Arial, Helvetica, sans-serif"><a href="http://www.usbdriveguard.com/UpdateTicketFromReport.php?id=<?php echo $id; ?>"<?php echo $id; ?></font></td>
i want the id which is the record number to be the link that sends its value to the UpdateTicketFromReport.php page. i cant seem to get this to work.
-
Oct 9th, 2010, 11:20 AM
#2
Re: Pass variable with url
Your HTML is wrong. You're missing the closing > as well as the end anchor tag. You have the right idea, though.
Code:
<td><font size="1" face="Arial, Helvetica, sans-serif"><a href="http://www.usbdriveguard.com/UpdateTicketFromReport.php?id=<?php echo $id; ?>"><?php echo $id; ?></a></font></td>
-
Oct 9th, 2010, 03:59 PM
#3
Thread Starter
Hyperactive Member
Re: Pass variable with url
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|