10 pts.
 Error in PHP code
if (isset($_REQUEST['c'])) { $h=$_REQUEST['c']; for($i=0;$i<count($h);$i++) { $hb=implode(",", $h); } } In PHP, I type this code for checkbox, but I receive an error on the loading page.

Software/Hardware used:
vmsd;
ASKED: September 24, 2012  7:26 AM
UPDATED: September 24, 2012  11:54 AM

Answer Wiki:
Erro could be if ($_REQUEST['c']) is not an array
IF this varibale is not an array then
Errror will be
Warning: implode() [function.implode]: Invalid arguments passed
Last Wiki Answer Submitted:  September 27, 2012  6:15 am  by  vinod007   65 pts.
All Answer Wiki Contributors:  vinod007   65 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

What was the error? — Tom

 108,135 pts.

 

Erro could be if ($_REQUEST['c']) is not an array
IF this varibale is not an array then
Errror will be
Warning: implode() [function.implode]: Invalid arguments
passed

 65 pts.