Forum Moderators: coopster

Message Too Old, No Replies

echo dynamic link

         

transmutated

1:29 am on May 5, 2006 (gmt 0)

10+ Year Member



I am trying to echo a dynamic link... here is what I have. Help :)

$yes = echo "<a href='in_cart_confirm.php?part_id=" . echo $row_Recordset1['in_cart_detail_id'] . "'>Confirm</a>"

Where am I going wrong. I would imagine it has something to do with the quotations. I am horrible with those. Thanks in advance.

jatar_k

2:05 am on May 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you don't need to use echo

$yes = "<a href='in_cart_confirm.php?part_id=" . $row_Recordset1['in_cart_detail_id'] . "'>Confirm</a>";

then

echo $yes;

to output it