Well - first I would turn off display errors and turn on log errors.
Then - well there is always the error suppressor (@) - but I personally
don't like it. You could also create a custom error handler... And I
wonder if mysqli supports exceptions...
http://www.php.net/manual/en/ref.errorfunc.php
Richard Lynch wrote:
On Fri, January 5, 2007 4:35 pm, Jochem Maas wrote:
Richard Lynch wrote:
On Fri, January 5, 2007 12:29 pm, Richard Morris wrote:
I am having this problem that I hope can be worked around. I make
a
connection to our MySQL d
On Fri, January 5, 2007 4:35 pm, Jochem Maas wrote:
> Richard Lynch wrote:
>> On Fri, January 5, 2007 12:29 pm, Richard Morris wrote:
>>> I am having this problem that I hope can be worked around. I make
>>> a
>>> connection to our MySQL database using the object version of
>>> mysqli.
>>> If
>>>
On Fri, January 5, 2007 4:35 pm, Jochem Maas wrote:
> sidenote: where exactly do you put the @ to suppress the error in this
> line?:
>
> $db = new mysqli('localhost', 'user', 'badpass', 'test');
Since it is the 'new' operator which is issuing the WARNING, as far as
I can tell, you should put it i
Richard Lynch wrote:
> On Fri, January 5, 2007 12:29 pm, Richard Morris wrote:
>> I am having this problem that I hope can be worked around. I make a
>> connection to our MySQL database using the object version of mysqli.
>> If
>> access is denied because of an incorrect username or password, mysq
On Fri, January 5, 2007 12:29 pm, Richard Morris wrote:
> I am having this problem that I hope can be worked around. I make a
> connection to our MySQL database using the object version of mysqli.
> If
> access is denied because of an incorrect username or password, mysqli
> displays an error. Is
6 matches
Mail list logo