I’m building an application around a database(which was built by someone else, so changing it is not an option). I’m querying the database for values which was working fine until I came across a column in the database that has a $ in it.
The code I’m trying to get to work is…
$avgprice=mysql_result($result1,$i,"avg$cwt");
Try to escape
$sign or use'instead of":PHP strings:
and