Hellow Friends ,
This is the code am trying : have a look am getting error, if u all can fixed it up for me :
am getting error on this line : Parse error: parse error in c:\web\test.php on line 12
************************************************** *
<html><body>
<?
$host = "localhost";
$user = "root";
$pass = "";
$dbname = "karmas";
$connection = mysql_connect($host,$user,$pass) or die (mysql_errno().": ".mysql_error()."
");
mysql_select_db($dbname)
$sql = "SELECT ID,logo,Description FROM client";
$result = mysql_query ($sql);
while ($row = mysql_fetch_row($result))
{
$ID = $row[0];
$logo = $row[1];
$Description = $row[2];
$show_stuff .= "<img src=\"$image_path\">
$image_description";
// ^^^ this will store all the values of table inside $show_stuff ^^^
}
echo $show_stuff;
?>
</body></html>
************************************************
My Table structure (karmas)
¦ID¦logo¦Description¦
************************************************** ***
Parse error: parse error in c:\web\test.php on line 12
($sql = "SELECT ID,logo,Description FROM client"; )