When I do an select statement in PHP for mysql that contains fields that end in a # sign, I receive an error that indicates that it can't find the table and I receive no results. If I remove the offending field, everything works perfectly:
Has anyone run into this, and if so, how do I fix it?
Code:
$selstring = "SELECT VNDTBL.VNDCOD, VNDTBL.VSS# FROM OHPRODSQL.VNDTBL"; $result = mysql_query($selstring); $row = mysql_fetch_array($result);
Comment