note 97581 added to function.implode
| From: | Kate at example dot com | Date: | Tue, 27 Apr 2010 03:44:12 +0000 |
| Subject: | note 97581 added to function.implode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168686@lists.php.net to get a copy of this message | ||
if(count($topping) > 5)
{
array_push($validationOrderErrors, "Can not chosse " . count($topping) . " kinds
of topping. ". "The max choices is 5.");
$isOrderInfoValid = false;
}
else if(count($topping) < 1)
{
array_push($validationOrderErrors, "Pizza topping must be specified.");
$isOrderInfoValid = false;
}
else
{
$toppingValue = implode(", ", $topping);
array_push($validInfo, "<li>Pizza topping: " . $toppingValue .
"</li>");
array_push($validPassInfo, $toppingValue);
}
----
Server IP: 216.235.13.26
Probable Submitter: 66.51.252.15
----
Manual Page -- http://www.php.net/manual/en/function.implode.php
Edit -- https://master.php.net/note/edit/97581
Del: integrated -- https://master.php.net/note/delete/97581/integrated
Del: useless -- https://master.php.net/note/delete/97581/useless
Del: bad code -- https://master.php.net/note/delete/97581/bad+code
Del: spam -- https://master.php.net/note/delete/97581/spam
Del: non-english -- https://master.php.net/note/delete/97581/non-english
Del: in docs -- https://master.php.net/note/delete/97581/in+docs
Del: other reasons-- https://master.php.net/note/delete/97581
Reject -- https://master.php.net/note/reject/97581
Search -- https://master.php.net/manage/user-notes.php