Page 1 of 1
[SOLVED]HELP: Sending Values question
Posted: Mon Apr 12, 2004 5:32 pm
by bironeb
Is it possible to send more then one variables on a href? For example:
Code: Select all
<?php
<a href="index.php?main=show_record, ?user_id=$user_id">$user_name, $user_id</a>
?>
Posted: Mon Apr 12, 2004 5:34 pm
by patrikG
Posted: Mon Apr 12, 2004 5:43 pm
by bironeb
so like this?
Code: Select all
<?php
<a href="index.php?main=show_record & user_id=$user_id">$user_name, $user_id</a>
?>
Posted: Mon Apr 12, 2004 5:48 pm
by JAM
Rather:
Code: Select all
<?php
echo "<a href="index.php?main=show_record&user_id=$user_id">$user_name, $user_id</a>";
?>
Removed the spaces. Look at the URI on this very page to get a feel for the look. =)
Posted: Mon Apr 12, 2004 5:50 pm
by bironeb
Cool Thanks guys!!