$_GET parameters from URL with a tag

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
mikemcvey
Forum Members
Forum Members
Posts: 61
Joined: Tue May 02, 2006 4:08 am

$_GET parameters from URL with a tag

Post by mikemcvey »

Hi I am trying to incorporate a shopping cart to CMS

to make it work I am trying to pass some extra variables to the URL like

-> index.php?page=shopping_cart&action=add&id=1

I am trying to $_GET the parameters from a custom tag

However when I use this is doesn't even run.... it's like the xtra parameters are deleted by the CMS..

Any ideas on how to fix this problem?

Mike
Last edited by mikemcvey on Wed May 03, 2006 3:24 am, edited 1 time in total.
mikemcvey
Forum Members
Forum Members
Posts: 61
Joined: Tue May 02, 2006 4:08 am

Resolved: $_GET parameters conflict - '&id=0'

Post by mikemcvey »

mmm... after testing it seems that I was passing the parameter "id"...

like : index.php?page=shopping_cart&todo=add&id=1

Should have spotted that one...  ::)
Post Reply

Return to “Developers Discussion”