Kevin
|
| Posted: 12/26/2002, 10:01 PM |
|
I created a page that expects a category_id to be passed via the url, this
works fine and only the records that have matching category_id's show up.
The problem is the links with the url's are on the same page as the grid so
when you click on the <a href="./gridpage.php?category_id=14" ></a> it works
the first time as
gridpage.php?category_id=14 but the second time you click you get :
gridpage.php?category_id=14&category_id=14
which is not a vaild SQL where clause.
|
|
|
 |
jc
|
| Posted: 12/26/2002, 11:18 PM |
|
You can set PreserveParams to None or to add category_id as
RemoveParameter for Link
Kevin wrote:
> I created a page that expects a category_id to be passed via the url, this
> works fine and only the records that have matching category_id's show up.
> The problem is the links with the url's are on the same page as the grid so
> when you click on the <a href="./gridpage.php?category_id=14" ></a> it works
> the first time as
> gridpage.php?category_id=14 but the second time you click you get :
> gridpage.php?category_id=14&category_id=14
> which is not a vaild SQL where clause.
>
>
|
|
|
 |
|