How to ignore query string in viewer

2 posts by 1 authors in: Forums > CMS Builder
Last Post: May 28, 2009   (RSS)

By pothompson - May 28, 2009

I'm trying to use the following code in a viewer page called products.php

list($productsRecords, $productsMetaData) = getRecords(array(
'tableName' => 'products',
'where' => $where,
));

The variable $where is being set by me based on other criteria and all works fine. However, if I reach this page using the following products.php?size=A4, then I can't seem to make it ignore the query string in the URL. I need this query string for another lookup of the product table, but for the instance outlined above, I only want it to take note of my $where varaible.

Is this possible?

Thanks.