image problem
-
Hi
I’m trying to get an image to show on a page, but I get a little box with a torn image.
This is the code I used
<?php global $wpdb; $bras = $wpdb->get_results("SELECT * FROM bras;"); ?> <table> <?php foreach($bras as $bra): ?> <td><?php echo $bra->title ?><br /> <img src="<?php echo $bra->filename; ?>" /><br /> <?php echo $bra->content ?><br /> <?php echo $bra->price ?><br /> <?php endforeach; ?> </td> </table>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘image problem’ is closed to new replies.