php question concatenation?

Ann

New member
echo "<td> 'pic\pic' . $ctr . '.jpg' <td>";

can you fix this code? coz it gives me errors.. i am trying to display different picture in each table cell... each picture must be clickable.. it's school seatwork.
or
echo "<td><img src= 'pic\pic' . $ctr . '.jpg'> <td>";
 
Back
Top