PHP Code:
function test($type)
{
$ary = array("text","password","checkbox","radio","submit");
if($type !== $ary)
{
echo "that type is not supported";
}
echo "$type";
}
test("text");
it work, but telling me that
that type is not supported.
Comment