variable in src

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: variable in src

Post by johnj » Wed Apr 24, 2013 7:40 pm

Please change this line
<img border='0' src='$product_image' alt='$title' width='175' height='116'></td>
<td width='62%'>

To

<img border='0' src='<?php echo $product_image; ?>' alt='<?php echo $title; ?>' width='175' height='116'></td>
<td width='62%'>

Post Reply

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 4 guests