DJTim666 Posted June 9, 2007 Share Posted June 9, 2007 <?php $ranNumber = rand(1, 1000000); $ranNumber2 = rand(1, 1000000); $ranNumber3 = rand(1, 1000000); $ranNumber4 = rand(1, 1000000); $ranNumberWin = "<font color=green><b>$ranNumber</b></font> -- <font color=blue><b>$ranNumber2</b></font> -- <font color=orange><b>$ranNumber3</b></font> -- <font color=brown><b>$ranNumber4</b></font>"; $winningNumbers = "<font color=green><b>445572</b></font> -- <font color=blue><b>982612</b></font> -- <font color=orange><b>72623</b></font> -- <font color=brown><b>109563</b></font>"; ?> I want to make it so that the colours of the random numbers dont matter. They way they are set up right now, is making it so that the colours have to be the same as the winning numbers colour. Any help is appreciated. -- DJ Quote Link to comment https://forums.phpfreaks.com/topic/54884-slots-question/ Share on other sites More sharing options...
DJTim666 Posted June 9, 2007 Author Share Posted June 9, 2007 Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/54884-slots-question/#findComment-271430 Share on other sites More sharing options...
chocopi Posted June 9, 2007 Share Posted June 9, 2007 I dont quite understand what you mean Quote Link to comment https://forums.phpfreaks.com/topic/54884-slots-question/#findComment-271434 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.