URL Filters

2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 27, 2010   (RSS)

So I've been able to magically create a single php page viewer that displays different products based on the category that's chosen from a navigation bar using viewerPage.php?category=tables...

However now I want to add another viewer to the page for navigation purposes and the URL seems to be conflicting with the second viewer code...

here's the viewer code:
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php

require_once "\\\\frigga/home/users/web/b2870/as.shopfurniture/admin/lib/viewer_functions.php";

list($itemized_productsRecords, $itemized_productsMetaData) = getRecords(array(
'tableName' => 'itemized_products',
));

?>

<?php

require_once "\\\\frigga/home/users/web/b2870/as.shopfurniture/admin/lib/viewer_functions.php";

list($collection_databaseRecords, $collection_databaseMetaData) = getRecords(array(
'tableName' => 'collection_database',
));

?>


I want to apply the url search to the first viewer, but not to the second. thoughts?
John Tedesco

Creative Director



JAM Graphics