Page 1 of 1
yourdomain.com/index.php?page=17... <--- how do you do th
Posted: Wed Nov 15, 2006 8:28 pm
by boo_lolly
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.
Posted: Wed Nov 15, 2006 8:32 pm
by feyd
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.

Posted: Wed Nov 15, 2006 8:37 pm
by boo_lolly
thanks a lot. what would i search for? for some reason i believe this task will call for a switch() statement. maybe it will be inside an include?
Posted: Wed Nov 15, 2006 8:46 pm
by feyd
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.