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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.