[nycphp-talk] SQL "WHERE" conditions in an array
Odra Gola
odragola at gmail.com
Tue Aug 2 17:32:14 EDT 2005
Dan,
Thanks for your "helpful" response and for labeling me. All I asked was if
someone knew what function I was referring to and where to find it. I did
not request anyone to do my work.
I do know "how to use PHP" better than you have assumed ... and guess what
.. I also know how to use foreach(). The code I was referring to could build
"multi-level" WHERE conditions with multiple ANDs and OR based on the
structure of the passed array. foreach() in not quiet all of the concept
behind it.
I believe my question was clear and I didn't ask it because I'm lazy or
because I'm not able to come up with a solution myself. I asked it simply
because I have a deadline tomorrow and I 'm trying to save some time by not
reinventing the wheel. I think any smart programmer would do the same in my
situation.
Your response however, was neither an answer to my question nor an advise. I
actually think it was quiet rude and I'm lucky it's not an IRC channel,
because I'm sure you'd ban me without thinking twice for asking a question.
I've been a member of NYPHP for a few years and I hope that the list is
still a place where people can ask questions. Correct me if I'm wrong.
Thanks,
O.
On 8/2/05, Daniel Convissor <danielc at analysisandsolutions.com> wrote:
>
> Hey Odra:
>
> On Tue, Aug 02, 2005 at 03:47:06PM -0400, Odra Gola wrote:
>
> > Can someone point me to that code please?
>
> Rather than being lazy and making us do your work for you, how about
> posting an idea of how you'd do it and we'll give you feedback.
>
> If you don't have any ideas, you've got to do some reading to do on how to
> use PHP. Check out the foreach() syntax in the PHP manual.
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050802/b79ac6fc/attachment.html>
More information about the talk
mailing list