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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -