Hi,
I have a form:
for ($i=1; $i<=5; $i++)
{
echo "<input type=\"text\" name=\"keywords[]\" value=''><br>";
}
on submit, I test to see if the array keywords is empty:
if (!isset($_POST['keywords'])) {
echo "You must enter at least one keyword";
}
However, it doesn't work, i.e. during testing, I put nothing in the textfields and expect to see the error message, but don't. Any pointers would be appreciated.