php-general Digest 25 Feb 2011 23:58:41 -0000 Issue 7200

2011-02-25 Thread php-general-digest-help
php-general Digest 25 Feb 2011 23:58:41 - Issue 7200 Topics (messages 311577 through 311581): Re: Why is this array_walk_recursive action not working? [SOLVED] 311577 by: Dave M G Re: Dynamically Created Checkboxes 311578 by: tedd Re: How to write code: how wrong am I?

Re: [PHP] Re: Simplest way of enforcing an array of instances of a specific class but treating the whole thing as an array.

2011-02-25 Thread Richard Quadling
On 24 February 2011 18:28, David Harkness davi...@highgearmedia.com wrote: If each array will contain a single type of object, but you need many of these arrays, each containing a different type of object, I recommend creating a generic instances-of-class array using ArrayObject. You can

Re: [PHP] Why is this array_walk_recursive action not working? [SOLVED]

2011-02-25 Thread Dave M G
Feln, Richard, Jim, Thank you for responding. I understand now that the problem wasn't with variable scope, but with my lack of understanding of what array_walk_recursive returns. Thank you all for your explanations. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Dynamically Created Checkboxes

2011-02-25 Thread tedd
At 5:06 PM -0500 2/22/11, Gary wrote: -snip- Would appriciate your help. Thank you. -- Gary Gary: This might help: http://php1.net/b/form-checkbox1/ Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How to write code: how wrong am I?

2011-02-25 Thread tedd
At 9:13 AM -0500 2/22/11, Robert Cummings wrote: On 11-02-22 08:58 AM, Dotan Cohen wrote: On Tue, Feb 22, 2011 at 14:11, Jay Blanchardjblanch...@pocket.com wrote: It is an interesting concept Dotan, what is the goal? Who is the page targeted to? The goal is to have every open and close

Re: [PHP] How to write code: how wrong am I?

2011-02-25 Thread tedd
At 11:04 AM -0700 2/22/11, Alexis wrote: On 22/02/11 09:40, Dotan Cohen wrote: On Tue, Feb 22, 2011 at 16:15, Robert Cummingsrob...@interjinn.com wrote: If you switch to vertically aligned braces you will have an easier time matching up open and close braces... if (something) { // Code

Re: [PHP] mysql_num_rows()

2011-02-25 Thread tedd
At 12:40 AM -0500 2/22/11, Gary wrote: Can someone tell me why this is not working? I do not get an error message, the results are called and echo'd to screen, the count does not work, I get a 0 for a result... $result = mysql_query(SELECT * FROM `counties` WHERE name = 'checked') or