Reply to Re: Diferent numbers

Your name:

Reply:


Posted by CyberDog on 06/24/05 13:59

Andrew @ Rockface wrote:
> As each number is generated record it in an array, then check each new
> number against the elements in the array.

I would like to go with this

Could you be so kind and write an example for me?

is it something like this:

while ($postition < $displayed_questions)
{
$question = array(
$number => rand(1, $questions_in_database)
)
$number++
}

How to check if the number is used? While in a while?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация