3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by simplypixie
0

my whole code:

banner.php

<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
 

<div id="banner">
	
	<div class="headerStyle">
    <div style="padding:4px 0px;">&nbsp;Banner</div>
    </div>
<?php
	
	include("includes\koneksi.php");
	
	$result = mysql_query("SELECT gambar FROM banner");
	
	while ($data = mysql_fetch_array($result)){
		echo '<img src="Images/'.$data['gambar'].'" width="70" height="70"><br>';
		}
		
?>

</div>

banner table:

id link gambar
1 www.link.com Array

Edited by davy_yg: n/a

0

Your path is wrong - it should be a forward slash, not a back slash as in any path to a file.

include("includes/koneksi.php");
This topic has been dead for over six months. 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.