Here's my code:
$info = 'SELECT last_trade FROM companies WHERE co_name="$co_name"';
$result = mysql_query($info);
if(!$result) {print "Failed to query"; die;}
$output = mysql_fetch_array($result);
print "$output[last_trade]";
This language passes nothing to the browser
I've checked and $co_name is correct. Also, when I manually type in the co_name it will print the correct information. What am I doing wrong?