Bilderwelten - Internetwelt

a selection of resources by Bernd Heidenreich and friends

        
Follow the directory or search directly
 
 

 

"; //MySQLConnect($ConnError_Email,$ConnError_Browser); // error_reporting(0); //$result = MySQLQuery("SELECT id,sub_cat,name,dsc FROM links_cat WHERE sub_cat=46 //////ORDER BY name ASC", $QueryError_Email,$QueryError_Browser); $query="SELECT id,sub_cat,name,dsc FROM links_cat WHERE sub_cat=46 ORDER BY name ASC"; $result=mysql_query($query, $link); if (!$result) { echo "DB Error, could not query the database\n"; echo 'MySQL Error: ' . mysql_error(); exit; } $found = (mysql_num_rows($result)); //echo $result; //echo " - result
"; //echo "test test test"; $count=0; if(mysql_num_rows($result)) { echo "\n"; while($row=mysql_fetch_array($result)) { $count=$count+1; $id=$row["id"]; $sub_cat=$row["sub_cat"]; $name=$row["name"]; $dsc=$row["dsc"]; $link_count = MySQLQuery("SELECT * FROM links WHERE catcont='".$id."' AND approved='yes' ORDER BY name ASC", $QueryError_Email,$QueryError_Browser); if($count <= $front_cols && $count==1){echo "\n\n\n\n";} else if($count < $front_cols && $count > 1){echo "

\n\n";} else if($count==$front_cols){echo "

\n\n";} if($count==$front_cols){$count=0;} } if($count < $front_cols) { $spacer=($front_cols - $count) * 2; echo "\n\n"; } echo "\nNo categories found

"; } ?>
\n";} else if($count < $front_cols && $count > 1){echo "  \n";} else if($count==$front_cols){echo "  \n";} echo "• $name
$dsc\n"; if($count <= $front_cols && $count==1){echo "

\n