|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there
I am new to this but i have been trying for a few days to get the result i want. I have a table called phonebook and in there is the fields pb_id pb_surname pb_forename pb_tel_ext I would like to be able to seach for forename or surname or forename and surename and it do display everything for them results including pb_ext_tel Sounds like alot but i am learning and if anyone could help i would be most thankful |
|
#2
|
|||
|
|||
|
Ok...
As an update i have it working My code is PHP Code:
SO i am learning hehe but now i would like to do something more complicated I have 1 other tables called Sites and in that table is a site_id Now back in the table phonebook there is a pb_site_id which every record has and that corispondes to the site_id in sites. How can i get it to go and get the right information from the sites table using the pb_site_id of each record and then echo that out with the the rest of the information. Please help or advise, i am enjoying learning this ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Searching and displaying results from mysql database using PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|