Does this small piece of code seem ok? |
(11-04-2015, 10:50 AM)mwhitney Wrote: Especially compared to all of the discussion about randomness, this is a minor item, but I would generally forego the extra variable and do something like this: It has been awhile but I just had to reply on this. Shouldn't it be PHP Code: while( $check === 1 ) Because no match means $check remains 0 and the cycle is run again right? But we only want the cycle to rerun if a match was found setting $check = 1; |
Welcome Guest, Not a member yet? Register Sign In |