Hi.
I have been doing like this:
if (!$stmt->execute()) {
return false;
} else {
... some code
return true;
OR
return $foo; // Some int, string, whatever.
}
I am thinking about changing the "return false" with a:
if (!$stmt->execute()) {
die(DB_ERROR);
This w
On Fri, Oct 22, 2010 at 12:35:43PM -0400, tedd wrote:
> At 4:54 PM -0400 10/21/10, Marc Guay wrote:
> >Toilet seat. Up or down. Same thing? Sort of.
>
> No, everything down (seat and top) is the rule in my house.
>
> You should see how women often react when I tell them to put the top
> down
On Thu, 21 Oct 2010 10:55:14 -0400
Paul M Foster wrote:
> On Thu, Oct 21, 2010 at 04:05:50AM +0200, Rico Secada wrote:
>
> > Hi.
> >
> > I am working on a small system where I am both trying to avoid code
> > duplication and at the same time I am trying to keep the
> > presentation logic separa
etter method to use?
>
> Thank you
>
> Gary
>
>
>
> __ Information from ESET Smart Security, version of virus signature
> database 5560 (20101024) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
ipslashes in the variable. The script still works, but is there a problem
with redundancy, or does one cancel the other out?
Also, which do you think is a better method to use?
Thank you
Gary
__ Information from ESET Smart Security, version of virus signature
database 5560 (2010102
5 matches
Mail list logo