Argh !!!!!!!!
HOW does one check for an array being empty from a form field??????????
Tried a billion different things and NOTHING works!!!!
I've tried:
if ($products == "\n") {
echo "hello";
}
else {
echo "bye";
}
if ($products == "") {
echo "hello";
}
else {
echo "bye";
}
if (empty($products)) {
echo "hello";
}
else {
echo "bye";
}
if (!isset($products)) {
echo "hello";
}
else {
echo "bye";
}
if (count($products) == 0) {
echo "hello";
}
else {
echo "bye";
}
NOTHING works!!!
Any help.. puuulease?
Aaron
- Re: [PHP-DB] checking for empty array from a form field?... Aaron Wolski
- Re: [PHP-DB] checking for empty array from a form f... jay
- Re: [PHP-DB] checking for empty array from a form f... Mark
- Re: [PHP-DB] checking for empty array from a form f... Mignon Hunter
- Re: [PHP-DB] checking for empty array from a form f... Jeff Pauls
- RE: [PHP-DB] checking for empty array from a form f... Hutchins, Richard
- RE: [PHP-DB] checking for empty array from a fo... Aaron Wolski
- RE: [PHP-DB] checking for empty array from ... jay
- AW: [PHP-DB] checking for empty array f... [EMAIL PROTECTED]
- RE: [PHP-DB] checking for empty array from a form f... Hutchins, Richard
- RE: [PHP-DB] checking for empty array from a fo... Aaron Wolski
