I have the following error:

(include_path='.:/usr/share/php:/usr/share/pear') in /home/sloki/user/masterli/sites/masterlink.co.id/www/cgoods/banner.php on line 15

Line 15:


That error appears after I upload my website online.

Why is it ?

Recommended Answers

All 3 Replies

check your path

my whole code:


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

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


banner table:

id link gambar
1 www.link.com Array

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.