|
-
Jul 30th, 2008, 10:11 AM
#1
Thread Starter
Frenzied Member
help with displaying users
I am stuck with a logic here. I have a users information saved in the database, now I have 2 If conditions
1. If the user is in the datbase and with a "flag" true, then display the user's information.
2. If the user is in the db but no flag, then display that user's information too.
I have a for loop to loop through that database, and create a table with 2 "tds" in it. I have the function display(user1, user2) with 2 arguments.
For ... user1 array then I create first td and second td, but I don't know how to corporate user2 array in that loop.
For instance,
Column1 has user A
Column2 has user B
My probme is if userB's flag = false then it won't show up on column 2, but rather shows up on Column1 for the next td.
-
Aug 2nd, 2008, 07:36 AM
#2
Re: help with displaying users
Could you rephrase your question because it is not clear what you are asking. A bit of source code and HTML will also help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|