Re: Form, Multiple Action Pages
| From: | Stephen | Date: | Tue, 11 Jun 2019 03:02:49 +0000 |
| Subject: | Re: Form, Multiple Action Pages | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326823@lists.php.net to get a copy of this message | ||
Thank you!
I thought I was missing something. :)
I was stuck into thinking I neded to use a form.
And I overlooked the simple solution.
--
Stephen
On 2019-06-10 7:14 p.m., Weydson Lima wrote:
> Do you have some code to share? It really depends on how you are
> creating these menu items. If you're using anchor elements ("A"), you
> can just point a menu item to a php file. For example:
>
> <a href="settings.php">Settings</a>
>
> Wey
>
> On 6/10/19 6:24 AM, Stephen wrote:
>> I am building a Control Panel for my web site.
>>
>> First page is a menu. I want each menu selection to be handled by a
>> different PHP file.
>>
>> I can do that by making every menu item a distinct form. But that
>> seems clumsy.
>>
>> Is there a better way?
>