| | |
how can i display the city name??
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 39
Reputation:
Solved Threads: 0
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&select='.$value->id.'">'.str_replace("&","&",$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
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&select='.$value->id.'">'.str_replace("&","&",$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
So I guess you forgot to include a file that defines it.
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.
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.
![]() |
Similar Threads
- Display Search Results as Hyperlinks to Records (ASP)
- access database search and display (Visual Basic 4 / 5 / 6)
- One of Many HJT Logs -- Trojan city here... (Viruses, Spyware and other Nasties)
- Help with asp form will not display contact information (ASP)
- help with form/ display issues (ColdFusion)
- Can anyone help? (C#)
- Newbie who is lost. (C++)
Other Threads in the PHP Forum
- Previous Thread: Drag and drop files and folders
- Next Thread: Looping through the first row of a 2 dimensional array
| Thread Tools | Search this Thread |
# 5.2.10 action address apache api array auto autoincrement beginner binary broken cakephp checkbox class classes cms code cron curl database date dehasher destroy display dissertation domain dynamic echo echo$_get[x]changingitintovariable... email error errorlog fatalerror file files folder form forms function functions google href htaccess html if-else image images include insert ip javascript joomla legislation limit link load login mail masterthesis menu mlm multiple mysql mysqlquery oop open paypal pdf persist php popup problem query radio random record recursion remote script search server sessions sms sockets source space sql syntax system table tutorial update upload url validator variable video web youtube





