Re: Help in loop for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Francisco, see the code i added below:  Yahoo's new formatting makes it 
hard to pull out your code.


Francisco - São Paulo - Brazil wrote:
>
> Suppose I have this:
>
> for($i = 0; $i < count($data); $i++){
> $blocked = isBlockedForMe($my_id, $account_id); // true or false
>
> }
>
> I want when the $blocked is true to SKIP to the next step, I dont want
> to BREAK, I want something like this:
>
> for($i = 0; $i < count($data); $i++){
> $blocked = isBlockedForMe($my_id, $account_id); // true or false
> if($blocked){
>     // do nothing
> } else {
>     //show your code here
> }}
>
> Thanks
> F
>
>  



------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux