Jump to content
xisto Community
Sign in to follow this  
iGuest

Menukey And Variables In A Query String Menukey and variables in a query string

Recommended Posts

I am new to php. I was trying to develop a website that has an index page ( main page). If I click on any link, the contents of the new page displays in the center of the main page. If I click on customers link (I do this by assigning a menu key from my index page). I was trying something like this

<a href="'.$this->php_self.'?menukey=9'.'?page=1">'.$tag.'</a>

I think php_self doe not work here. I do not know how to go the root path of the present customers.php page. I need to go to /index.php?menukey=6/customers.php?&page=2 etc.

I have been struggling with this for the last two days. Any help is really appreciated.

The path is /index.php?menukey=9/Customer.php?page=2

Here if select page 2 in list of customers, it displays correct results, but on a new page. I want this to be displayed on the same page where the first page was displayed. Here I am calling cutomers.php based on the menu key selected in index.php. So when I select page 2 of customers also, I want to maintain my css styles. So I would like to go through the menukey=9 and also page=2 of customers.php and display page 2 replacing page 1.

Here is the link for my page http://forums.xisto.com/no_longer_exists/

Please ignore any debugging strings on the page.

Thanks

Edited by moderator (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.