次のような 3 つのチェックボックスがあるフォームがあります。
<td>Wireless <input type="checkbox" name="services[]" value="wireless" /></td>
</tr>
<tr>
<td>Cellular <input type="checkbox" name="services[]" value="cellular" /></td>
</tr>
<tr>
<td>Security <input type="checkbox" name="services[]" value="Security" /></td>
<input type="submit" name="submit">
そして、私は($_POST)を抽出し、このコードを持っています
$comServices = implode(",", $services);
しかし、私はエラーが発生します:
警告: implode() [function.implode]: 無効な引数が渡されました..
このエラーが発生する理由を誰かが知っていますか?