I am trying to increment an account number with php but I think I am having a data conversion error. When I add 1 to the recordset value I get a weird string rather than the next number.
Please help. Thanks
here is the code:
<?php echo $row_Recordset1['accountnumber']; ?>
<?php $account = $row_Recordset1['accountnumber'] + 1;
echo $account;
?>
this is what I get:7601026500010001 7.60102650001E+15
this is what I am supposedto get 76010265000100017 7601026500010002
Please help. Thanks
here is the code:
<?php echo $row_Recordset1['accountnumber']; ?>
<?php $account = $row_Recordset1['accountnumber'] + 1;
echo $account;
?>
this is what I get:7601026500010001 7.60102650001E+15
this is what I am supposedto get 76010265000100017 7601026500010002