Gadgets Galore, Inc. uses dynamic information to provide a fun and exciting web experience. You need the Flash Player version 8.0 or higher and a JavaScript enabled browser to view this site in its entirety.
$pagetype="link";
$query = "SELECT link_url, link_title, link_desc FROM links ORDER BY link_date DESC";
$numresults=mysql_query($query);
$num_products=mysql_num_rows($numresults);
if ($num_products == 0) {
echo "
Sorry, there are currently no links here.
";
} else {
@extract (pagemaker (5, 10, 25, 50, 100, $pagetype));
// get results
$query .= $addon;
$result = mysql_query($query) or die("Couldn't execute query");
// now you can display the results returned
while ($row= mysql_fetch_array($result)) {
$blankurl=$row['link_url'];
$title=$row['link_title'];
$desc=$row['link_desc'];
$searchwww="www.";
$remove=str_replace($searchwww,"",$blankurl);
$search="http://";
$findurl=str_replace($search,"",$remove);
$url="http://www.". $findurl;
$link_header=<<
PHI;
$link_details.=<<$title |
| $desc |
| |
PHI;
}
echo $link_header;
echo $link_details;
echo "";
}
@bottompagemaker($adds, $addlimit, $pagetype);
?>