Hi--
I'm trying to use a simple form to create and input and store data in an array in a Mysql table. I want to be able to go back to the form at any time and add more elements to the array. And then to search for an element in the array. I have a form page and a processing page, below. When I try to submit the form I get this error:
Warning: implode() [function.implode]: Bad arguments. in /home/freeest/public_html/do_blackout.php on line 10
What am I missing? Thanks.
My Form
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form method="POST" action="do_blackout.php">
<input type="text" id="blackout_date[]">
<input type="submit" name="submit">
</form>
</body>
</html>
[code=php] My Action Page
<? include('connect.php'); ?>
<?php
$blackout_date=implode(",", $_POST['blackout_date']);
$sql = "INSERT INTO blackout SET
blackout_date='$blackout_date'
";
?>