how can i display the city name??

Reply

Join Date: Jul 2008
Posts: 39
Reputation: god_1896 is an unknown quantity at this point 
Solved Threads: 0
god_1896 god_1896 is offline Offline
Light Poster

how can i display the city name??

 
0
  #1
Jul 31st, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 100
Reputation: petr.pavel is an unknown quantity at this point 
Solved Threads: 14
petr.pavel's Avatar
petr.pavel petr.pavel is offline Offline
Junior Poster

Re: how can i display the city name??

 
0
  #2
Sep 4th, 2008
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.
Petr 'PePa' Pavel

The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC