I’m having problems echoing the src and alt attribute in the img tag. It doesn’t display the image at all. Does any one know how I should be structuring this?
echo '<td rowspan="7">' . <img src=$row[url] alt=$row height="250" width="300"/> . '</td>';
Thanks
Your quoting is all messed up:
To fix your method with single-quoting and concatenation, use:
Or all as a double-quoted string, enclosing the variables in
{}and placing single quotes around all attributes: