I have been searching on how to send get variables from one page to the next in simple cms. I have two sets of php code each in a user defined tag. one that displays a list of posts (works fine) and a second that displays the details of the post and comment(s). The first page needs to send an id over to the next page. how can it be done?
my config settings are:
Code: Select all
#Show mod_rewrite URLs in the menu?
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
Please help
PS : I apologize if this subject has already been posted. I was not able to find it by "search".