$result = mysql_query("SELECT * FROM 4Sale ");
while($row = mysql_fetch_array($result)
)
{
$highbid=$row['bid']; // THERE ARE SEVERAL DIFFERENT ENTRIES FOR BID
}
// I am trying to validate with this
if($bid < $highBid) {
ECHO"BID HIGHER";
}
of course the form field is name=bid AND THE db FIELD NAME IS BID.
Start Free Trial