Re: dealing with this code $_POST['custom´]
| From: | Marc Guay | Date: | Fri, 16 Dec 2011 21:57:31 +0000 |
| Subject: | Re: dealing with this code $_POST['custom´] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316045@lists.php.net to get a copy of this message | ||
> $saving_list = $_POST['custom'] == 'FR' ? 148 : 147;
Hi there, here's a quick translatation of this code that might help
you understand it better:
if ($_POST['custom'] == 'FR'){
$saving_list = 148;
}
else{
$saving_list = 147;
}