hello,
here goes the code
include ("config.php");
mysql_connect ($mysql_host, $mysql_user, $mysql_pass);
mysql_select_db ($mysql_db);
$search_results = mysql_query ("SELECT * from products");
$count=0;
while ($row = mysql_fetch_array($search_results))
{
$count = $count + 1;
$id.$count= $row["id"];
$shortdescription.$count=$row["shortdescription"];
$photo.$count=$row["photo5"];
$count = $count++;
}
later on in the HTML page, i want to echo
id1,photo1; id2,photo2; etc
is this correct ?
$count=0;
$count = $count + 1;
$id.$count=
how can i get id1 here ?
thanks in advance.
cheers