View Single Post
05-07-2008, 12:15 PM
Join Date: Oct 2007
Location: Manchester, UK
yea thanks your correct Salathe i overlooked that, infact i didnt think it through properly (as i previously said) tend to loose track of index offsets for some reason, i guess my brain just brushes it aside as a minor inconvience. Still it begs the question why is an undefined offset a warning and not a fatal in php? im sure most other languages generate a compile error (or is that writing past the end of an array, bah)
and i havnt personally used the shuffle() function before i havnt really had mush need for shuffling an array before so it hasnt come to my attention yet, so there isnt any 'harm' in it in fact its probably quicker (as its a language function therefore written and compiled in C and doesn't need to go through the interpreter)
bah i should actually be working right now, so i guess ill get on with it before i get sacked.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia