|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Formatting query results/table
I have seen this posted in the MySQL forums but am new to LDAP/PHP stuff. I want to post data from an LDAP query into a table format for an online phone directory. The results returned are a name and a phone number that is formatted right now as a table with two rows. Like the following:
User1 Number1 User2 Number2 User3 Number3 User4 Number4 I want it to read: User1 Number1 User2 Number2 User3 Number3 User4 Number4 Any help or suggestions is greatly appreciated. The full code is as follows: PHP Code:
Last edited by Viper_SB : July 30th, 2003 at 03:36 PM. |
|
#2
|
||||
|
||||
|
Try this out let me know if you ned more help
PHP Code:
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me |
|
#3
|
|||
|
|||
|
That's almost got it! It does return all the results, doesn't skip anything, formats it in two columns but the second column contains blank entries. Looks to be something that hopefully I can figure out. I think I see the issue already. I have entries in eDirectory that do not have a fullname or telephonenumber entry and it skips over them but leaves a blank field in their place.
I will post the fully functional code here as soon as I have it. Many thanks for putting me on the right track Viper! |
|
#4
|
||||
|
||||
|
Sure np
|
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Formatting query results/table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|