$dbh=$db->prepare("SELECT -balance FROM Table1 WHERE username='$authuser' and balance < '-.01'"); $dbh->execute(); ($balance_due) = $dbh->fetchrow_array();
$dbh=$db->prepare("SELECT -balance FROM Table1 WHERE username='$authuser' and balance < '-.01'"); $dbh->execute(); ($tmp) = $dbh->fetchrow_array(); $balance_due = 0 - $tmp;
$dbh=$db->prepare("SELECT -balance FROM Table1 WHERE username='$authuser' and balance < '-.01'"); $dbh->execute(); ($tmp) = $dbh->fetchrow_array(); $balance_due = substr $tmp, 1;
In reply to Re: Chomp Maybe?
by hossman
in thread Chomp Maybe?
by th3monk3y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |