But I want to actually get the values (min and max) from the database. I have a downdown with an ID "cardRequested" pulling data from the database. I'm pulling additional values from the database by specifying minGenerated and maxGenerated separated by commas to ID "cardRequested". See below.
When I call changeInterNo() function and try to pass the variables minGenerated and maxGenerated to the getInterRange() function from the recordset, the number doesn't get generate properly and I just cannot figure out what's happening.
Any assistance provided will be appreciated.
<option value="<?php echo $row_WADADynListdebitcard['dcardNo']?>,<?php echo $row_WADADynListdebitcard['minGenerated']?>,<?php echo $row_WADADynListdebitcard['maxGenerated']?>,<?php echo $row_WADADynListdebitcard['dcardDesc']?>"><?php echo $row_WADADynListdebitcard['dcardDesc']?></option>