-
PHP URL Info
Ok, I can't really think how you'd word this, but thats the best I can do.
Problem:
Ok, so you have a url whatever.com/something.php?page=1 I know you can do this, but what code do you use to do it? It confuses me, because I don't understand 1: how do you use like a set, you know 1, 2, 3, etc. 2: if you must use the if() how would you collect that data? $_POST ? Google has been failing me alot...
Thanks again guys,
Tim
-
-
In that case, $_GET['page'] is '1'.
-
-
Thanks Twey. I'm learning PHP alot faster than JavaScript, its much easier. xD.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks