Calling a program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear List -

Can you not call a PHP script from a form -- action = 'program.php'?  In my hands it does not work...


I have tried the following

include program.php;

later in the program ...

form
.
.

echo "<input type='hidden' name='next_step' value='step14' />";

.
.
.
.

switch ( $_POST['next_step'] )
{

	case 'step14':
	{
		P7a.php();
	}								}

} //end Switch	

The result of this is that program.php runs at the start of the script, and step14 is never called.

I am totally confused.

If you need more details, please specify.

TIA.

Ethan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux