gudfry Posted July 30, 2008 Share Posted July 30, 2008 hi all; I have a problem with displaying the city name, because there is no disply. i already use the id to determine ech city i selected, i have this line of code wich make me fell bad. please this line of code. <?php $result=city::getDisplayName('$id'); echo $result; ?> Link to comment https://forums.phpfreaks.com/topic/117300-problem-with-my-dispalyname/ Share on other sites More sharing options...
sasa Posted July 30, 2008 Share Posted July 30, 2008 try <?php $result=city::getDisplayName($id); echo $result; ?> remove ' around variable Link to comment https://forums.phpfreaks.com/topic/117300-problem-with-my-dispalyname/#findComment-603382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.