Re: <form action="?">

From: Date: Wed, 12 Nov 2003 16:35:03 +0000
Subject: Re: <form action="?">
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169294@lists.php.net to get a copy of this message
Alan Lord wrote:
Hi all, can I put a function_name() in the <form action="..."> place holder? I know I can use a file name, but it would be much better (for me) if I could use a function name. Thanks in advance Al
<form action="script.php?action=edit"> script.php: switch($_GET['action']) { case 'edit': edit(); break; .... }

« previous php.general (#169294) next »