|
|
#10 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,218 posts
Gave thanks: 18
Thanked 86 times
|
Glad it worked.
![]() With the OR, the IF statement as written would never be "False" and the else portion would never be executed. A somewhat less confusing IF statement would be: if ((id == 1) OR (id == 23)) then print footer stuff else don't do footer stuff But since it works, I wouldn't mess with it LOL. ![]()
__________________
|
|
|
|
|
|
#12 (permalink) |
|
MR. SECURITY
Excelling Contributor
Joined in Jun 2004
Lives in Orlando, USA
Hosted on SH129
722 posts
Gave thanks: 4
Thanked 1 Time in 1 Post
|
I got another part of some code here.. I am not getting and errors with it but the output is not what is desired. I did not write the original code and I have this posted up on his forum but if you are bored or what a challenge, I would love for this to work.
I only copied the code and added the table and rows for all user sessions. I am sure there is a better way to write it and I believe I am counteracting some of this code. The row names are the same as the original but minus the "admin" part. PHP Code:
__________________
2005 Surpassies: Winner of Most Skilled Wordsmith SH129 - Power SH81 - OC5 |
|
|
|
|
|
#16 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,218 posts
Gave thanks: 18
Thanked 86 times
|
work pretty much drained all the mental capacity from my brain today.. the smart bits are currently in recovery mode.. should go to sleep but I'm resisting for some dumb reason..
![]()
__________________
|
|
|
|