Hi,
I have just come across a problem.
If a person places .99 in the bid my script gives the $ERR_058.
I thought it would have been a valid input.
Works ok if they input 0.99, I would obviously prefer it to accept both types...Where have I gone wrong?
if (!checkmoney($bid)) {
include("header.php");
$TPL_errmsg = $ERR_058;
$bidH = $bid;
include("templates/template_bid_php.html");
include("footer.php");
exit;
}
Keep thinking I am getting there on the learning curve...
Cheers in anticipation
John
I have just come across a problem.
If a person places .99 in the bid my script gives the $ERR_058.
I thought it would have been a valid input.
Works ok if they input 0.99, I would obviously prefer it to accept both types...Where have I gone wrong?
if (!checkmoney($bid)) {
include("header.php");
$TPL_errmsg = $ERR_058;
$bidH = $bid;
include("templates/template_bid_php.html");
include("footer.php");
exit;
}
Keep thinking I am getting there on the learning curve...
Cheers in anticipation
John