in reply to continuously query
fetchrow_array returns an ARRAY, and you must extract the element from that, even for the case where there is a single element.while ( my @order_fields= $query->fetchrow_array() ) { my $ordernumber = $order_fields[0] or die "Error: Expected a non-ze +ro order number" ; my $url = "link.com/$ordernumber"; ... }
"Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |