Re: Embedding foreach loops

From: Date: Tue, 11 Aug 2009 20:28:24 +0000
Subject: Re: Embedding foreach loops
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-296672@lists.php.net to get a copy of this message
Let me be the first to welcome you to the list!!! Rick Duval wrote:
OK, first guys, I'm sorry to have to do this but I can't get off this list!!! I've followed the instructions on a couple of occasions (the ones at the bottom of every email):
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Been There, done that. I can't get off the list!!! I use Gmail and I use an an alias as well, tried them both, still on the list. No reply from Majordomo. Yes, I've check my spam filter for a unsubscribe confirmation (if it sends one which I presume it's supposed to). Headers tell me that this list is "php-general@lists.php.net". Sent the unsubscribe emails. No replies. Again. I apologize but have no idea what to do to get off this list! THis is the only list server I can't seem to get off of. Help! On Mon, Aug 10, 2009 at 6:04 PM, John Butler<govinda.webdnatalk@gmail.com> wrote:
I can't seem to get my foreach loops to work, will PHP parse embedded loops?
yes.
Is this something I need to have in a database to work?
no, you can do it with the arrays... but it may be easier to work with over the long run if that data was in a db. Anyway right after you finish creating the array and it's embedded arrays, in your code, then add this: var_dump($shows); //--so you can see what you just created. If it looks right, THEN go on bothering to try and parse it with your (embedded) foreach's { ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ---------------------------------This message has been scanned for viruses and dangerous content byAccurate Anti-Spam Technologies. www.AccurateAntiSpam.com
-- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#296672) next »