PDA

View Full Version : How Do I Link To A ASIN?



incka
01-31-2004, 11:17 AM
Do I need to be in heavy or lite and what do I echo?

This isn't working:


<a
href="http://www.website.com/product/<? echo $i['asin']; ?>">More Info On This Product</a>

Mike
01-31-2004, 12:10 PM
I think "asin" should be "Asin" instead.

incka
01-31-2004, 12:28 PM
Thanks Mike:)

Chris
01-31-2004, 01:38 PM
Heres a tip, when echoing in php like that you can use a shortcut.

<?=$Asin;?>

Is the same thing as

<? echo $Asin; ?>

Mike
01-31-2004, 02:20 PM
So "=" stands for echo $i ?

Chris
01-31-2004, 02:41 PM
Its just a short cut.