Is it possible to store the value 12345 in a database column?
<?php $favid = '12345';?>
<img id="button" name="button0" src="images/0.jpg" onclick="addremove('<?php echo $favid;?>')" width="150" height="35">
However, when attempting to store:
<?php $favid = 'abcdf';?>
<img id="button" name="button0" src="images/0.jpg" onclick="addremove('<?php echo $favid;?>')" width="150" height="35">
The column type is VARCHAR, so both should be storable, right? Could the problem be with onclick="addremove('abcdf')? What modifications are needed to allow storing non-numeric values?