PhantomCode Posted December 17, 2008 Share Posted December 17, 2008 I'm sorry if this is an incredibly nooby question but I've searched around and I just can't figure it out... When I try to run some code of mine it spits out a "Parse error: syntax error, unexpected T_WHILE in"... and points to this line: do $Computer[2]++ while ($Computer[2] == $Computer[1]); Can anyone tell me what I'm doing wrong here? Quote Link to comment Share on other sites More sharing options...
twm Posted December 17, 2008 Share Posted December 17, 2008 do {$Computer[2]++;} while ($Computer[2] == $Computer[1]); Quote Link to comment Share on other sites More sharing options...
PhantomCode Posted December 17, 2008 Author Share Posted December 17, 2008 oh durr ??? (I feel so stupid) I thought I had tried that but apparently not... Thanks for your speedy aid! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.