Insert image into php table
Posted: Sun Aug 23, 2009 10:42 am
Pretty simple problem but im unable to find an answer which doesnt involve me uploading the image to the MySQL database. Basically i have a php table like this:
i have fiddled with the line alot but still cant get it to work, I just need the image in that column on the table so that when the user clicks the image they are redirected to a new page.
Is there a way to do this but with the image on the webserver?
Code: Select all
echo "<tr>";
echo "<td align='center'><font color='#006600'>$user_id </font></td>\n";
echo "<td align='center'><font color='#006600'> $job_id </font></td>\n";
echo "<td align='left'> $info </td>\n";
echo "<td><img src ="images/tick.png"></td>\n"; <<<<<<<<<<<<<<<<< image hereIs there a way to do this but with the image on the webserver?