Re: How do you do the ? mark after a filename
| From: | Ivo F.A.C. Fokkema | Date: | Mon, 13 Nov 2006 15:47:43 +0000 |
| Subject: | Re: How do you do the ? mark after a filename | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244548@lists.php.net to get a copy of this message | ||
On Sun, 12 Nov 2006 22:02:51 -0700, Thomas Bonham wrote:
> Thank you for that, it was a big help.
>
> Can I also call function that way?
>
> Again thank you for your help.
>
> Thomas
Do you mean:
/index.php?action=search
<?php
if (isset($_GET['action']) && $_GET['action'] == 'search') {
search_items();
} else {
view_all_items();
}
?>