Avatar

Login with email address? (General)

by Auge ⌂ @, Friday, March 05, 2021, 16:57 (231 days ago) @ Micha

Hello

I think, we cannot avoid searching for every single occurence and check the necessity of surpressing an error message instead of handling the hypothetical error.


It is not a problem to look for @mysqli. But, if the statement is e.g.:

$result = @mysqli_query($connid, "SELECT ....)

how should the modification looks like?

I don't know it (without testing). I know, that if myslq_query (old lib) failed, it caused PHP errors in very special cases. That was the reason, Alex muted these errors with @. My problem nowadays is, that I don't know, in which cases the @ was necessary. Thatswhy I don't know, how to test possible differences in the behaviour of the mysqli-lib.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread

powered by my little forum