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; ?> Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/117300-problem-with-my-dispalyname/#findComment-603382 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.