0

Please, I need help to echo atable row and div tag within PHP code. The following is what I have unsuccessfully tried:

echo '<tr>'
            '<td style="text-align:left">' . '<div class="describe">' . $row['im_description'] . '</div>' . '</td>'
        '</tr>';

I don't want it to appear in this format:

<tr> <td style="text-align:left"><div class="describe"><?php echo $image['im_description']; ?></div></td> </tr> 
2
Contributors
2
Replies
13
Views
1 Year
Discussion Span
Last Post by mexabet
2
echo '<tr>' . '<td style="text-align:left">' . '<div class="describe">' . $row['im_description'] . '</div>' . '</td>' . '</tr>';

That should work. If not, what exactly is the problem?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.