For some reason, this is evaluating to true:
If ('a' > 'ZZZZZ') { Print("a is more than zzzzzs"); ?><BR><?; } Output: a is more than zzzzzs
I give up.......lol...........z
What are you trying to do? 'a' is greater than 'Z' when comparing ASCII values. Perhaps you want to use [man]strcasecmp/man.
OK....thanks. Using that compare for a MySql database primary key.........and MySql doesn't give a flying rats *** if it's AAab, or zzBaD..........a is still less than Z......z
zardiw wrote:OK....thanks. Using that compare for a MySql database primary key.........and MySql doesn't give a flying rats *** if it's AAab, or zzBaD..........a is still less than Z......z
MySQL may or may not care depending upon what collation type you use.