> <FORM action="?secondM=poptry.php" method="post">
Nooooo. (Add more "o"'s for dramaturgic delay effects like in cliffhanger)
<form action="index.php" method="post">
<input type="hidden" name="secondM" value="poptry.php">
is a lot better! Don't mix $_POST and $_GET.
And if you have different pages/actions you might want to go with this
technique:
<input type="submit" name="action[chat]" value="chat">
and in code you use:
<?php
if (iss_array($_REQUEST['action']))
$action=current(array_keys($_REQUEST['action']));
else
$action='default';
switch ($action)
{
case 'chat':
perform_action_chat($_REQUEST);
break;
case 'default': // next
default
perform_action_default($_REQUEST);
break;
} // case action
?>
If you use an array for $_REQUEST['action'] you do not have to use button
value and therefore you are able to code multilingual.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/