php - How to fetch the values of a column named % -
?>php while ($row = mysql_fetch_object($sql)) { echo $row->%; } ?> //error parse error: syntax error, unexpected '%', expecting identifier (t_string) or variable (t_variable) or '{' or '$
<?php while ($row = mysql_fetch_assoc($sql)) { echo $row['%']; } ?>
Comments
Post a Comment