I know that's what you said to do, but I'm trying to learn if there's a reason why it acts that way:) Using $1 on patterns in parentheses (the first parentheses pattern) has always worked for me...
Is there a way I can keep MySQL errors from displaying without placing '@' in front of every function I call? Keep in mind that I use PHP's MySQLi extension.
Does that include die()? I know that die() and exit() do the same thing, but I wasn't sure if equivalent functions/language constructs are included when their siblings are.
But I don't understand why stating that the string ends in that pattern doesn't work. I use the following in JavaScript to return the cursor to end of of the form field after adding more to the...
I read that it's better to set the width and height of a textarea tag with CSS rather than with the cols and rows attributes. But, not having cols and rows specified will raise an error when you...
Thanks, I didn't realize what basename() did:) How come I would need to use look-behinds for a regular expression? I use a similar pattern for one of my JavaScript...
Is there any reason to define a destructor method for your classes? I just wrote my first OOP script, and I got to thinking about the __destructor method, but I never bother to get rid of the data in...
What exactly is $context? I see what it outputs, but I don't understand it. For example, I ran a test yesterday by assigning an undefined constant to a variable, and the output of $context was array.