943,729 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 660
  • PHP RSS
Jul 31st, 2008
0

how can i display the city name??

Expand Post »
hi all;

i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code.

this code works fine.

[table]echo '<td><a href="index.php?menu=hotel&amp;select='.$value->id.'">'.str_replace("&","&amp;",$value->name).'</a></td>';[/table]


but this part of code here is the the problem.

[table]<td>City:</td>
<td> <?php
echo $select=getParam($value->id);

?>
</td>[/table]
pls i need your help
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
god_1896 is offline Offline
39 posts
since Jul 2008
Sep 4th, 2008
0

Re: how can i display the city name??

Hi there,
you're using function getParam() that isn't PHP built-in function.
So I guess you forgot to include a file that defines it.
Reputation Points: 27
Solved Threads: 16
Junior Poster
petr.pavel is offline Offline
116 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Drag and drop files and folders
Next Thread in PHP Forum Timeline: Looping through the first row of a 2 dimensional array





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC