PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
just went ahead and deleted my failure of an attempt to explain that. someone with a better descriptive mind should tackle that one. too early in the morning and i'm about to pass out at the keyboard as it is lol...
quick note though.. && and AND are both ok and work the same. i guess it's just according to whatever you are most comfortable with...
anyways, GNITE
edit: as feyd has pointed out, i am wrong (but not real suprise here...)
http://us2.php.net/if <-- the bottom statement left me thinking that what i had originally said was true, and i didn't actually do any research on the issue. i guess i also missed the very top message warning of using the "and" and "or" statements lol..
in other words, when ur mind turns blank, get some sleep.
Last edited by infolock on Sat Mar 12, 2005 3:54 am, edited 1 time in total.
G'day again,
I've eaten now and brain has been nourished, I see all.
Well, my mistake anyway. If it was an "=" and not "!=" the "OR" would have been correct, I think "+" and "-" terminals on my brain got crossed, lol. I'd previously read the manual on precedence and come to the conclusion the "OR" and "AND" were appropriate here, the bars and ampersands would be appropriate where "precedence" is required, correct?
Now I want to read a txt file of pages into an array and parse that so I'd better get started, THANKS again.
some recently older browsers and current browsers (depeding on operating system and such) may have an initial issue due to the speed, or lack thereof, of the data coming across. For instance with the old code, it happened quite frequently that Firefox would render the page before it processed the highlighting. Thus making the display a few pixels high. A quick page refresh always seemed to fix the problem. I personally haven't had any issue with this in the new code with Firefox 1.0.1 (Win32). I know I used to with Firefox 0.8 - 0.9 (Win32)