PHP-MySQLi-Database-Class icon indicating copy to clipboard operation
PHP-MySQLi-Database-Class copied to clipboard

add trim in getLastError()

Open wingoo opened this issue 12 years ago • 3 comments

when i want to known whether the sql executed successful i call getLastError and use empty to determine but the new version's result is a space " " can you add trim before return in new version?

thanks:)

wingoo avatar Sep 24 '14 11:09 wingoo

+1 for this one, please :-)

Izopi4a avatar Sep 25 '14 13:09 Izopi4a

pushed into my branch. Will request merge now :)

avbdr avatar Dec 18 '14 11:12 avbdr

Merged -lots of smiles on this one lol ;)

ThingEngineer avatar Dec 23 '14 22:12 ThingEngineer