yourdomain.com/index.php?page=17... <--- how do you do th
Moderator: General Moderators
yourdomain.com/index.php?page=17... <--- how do you do th
is this what they refer to as sessions? i'm building a small part of a CMS. four pages to be exact. obviously sql is involved. many removing and creating tables or rows, retrieving sql arrays. basic but a lot of it.. what i'd like to do, tho, is take this opportunity to learn what i think is called sessions. does anybody have a link, a tutorial, or just plain old advice? thanks in advance.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
No, that's referred to as a query string, or page id (depending on which part you're talking about.)
If you want to learn about sessions, session_start() is a decent jumping off point. Just play around with them. If you have a specific question regarding them, ask.. but make sure to search first.
If you want to learn about sessions, session_start() is a decent jumping off point. Just play around with them. If you have a specific question regarding them, ask.. but make sure to search first.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
When using ID's, it's usually a simple matter of composing the query string with the given information. Now, because this value can be controlled by a user, we must validate it and verify that it is valid before attempting to compose the query. For the most part, the composition will consist of using strings.