Randal Rust wrote:
> If $unique returns false, I need to run some other scripts that will
> *attempt* to uniquely generate a new value, then take the new value
> and run checkDuplicate() again. And so on until $unique returns true.

while (!$unique) {
    /* Change $newTeam */
    $unique = checkDuplicate($newTeam);
}

Hope that helps.

Chris

-- 
Chris Shiflett
http://shiflett.org/
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to