Re: building upon the code RE: Differences

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

 



On 10/4/2012 10:15 PM, David McGlone wrote:
I hope I'm not being a pest.

I've played with the return and echo so much today I've finally realized I'm
going in circles. But I can say I understand it more than ever.

Now whats on my mind is breaking out of this circle and doing more with this
code. What I am trying to do now is instead of having ALL the images display,
I want to try and group them by their name.

If I were using SQL I'd simply use a where clause  and be done with it, but
I'm not sure what would acomplish the same thing or similiar to a where clause
in php.


ok - your idea of using where implies that you would do multiple queries to get all of the files, one group at a time. I see that now.

In your case, with the data just being filenames and not table records, you should look at the myriad of functions under 'array' in the manual.

A handy thing that manual  :)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux