|
-
Apr 13th, 2002, 10:10 PM
#1
Thread Starter
Stuck in the 80s
Query String?
I've worked with PHP before, but never made a whole website using PHP. Now that I'm doing so, I just have to say that PHP is awesome
Last edited by The Hobo; Apr 13th, 2002 at 10:21 PM.
-
Apr 13th, 2002, 10:15 PM
#2
-
Apr 13th, 2002, 10:20 PM
#3
Thread Starter
Stuck in the 80s
Whoa, I was so excited I forgot my question.
If I have this as my url: http://www.site.com/php.php?action=viewall how can I tell this in my code?
So I can do:
Code:
if($action == 'viewall') {
echo 'viewall it is...';
}
Thanks in advance.
-
Apr 13th, 2002, 10:21 PM
#4
Member
That's exactly what you do.
-
Apr 13th, 2002, 10:22 PM
#5
Thread Starter
Stuck in the 80s
bah! I had "if ($action == 'view')" in my code.
Thanks filburt!
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
|
Click Here to Expand Forum to Full Width
|