The fetchrow methods are all suffixed by the return type. You clearly want fetchrow_array.
Also, your conditional puts its argument in scalar context, so if (@bkmark) {...} will suffice. That tests if the array is empty.
After Compline,
Zaxo
In reply to Re: if (empty record set)
by Zaxo
in thread if (empty record set)
by chuleto1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |