Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
GetLastInsertID fix for untrimmed SQL queries (leading spaces)
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Ultimate MySQL
>
All threads
>
GetLastInsertID fix for untrimmed...
>
(Un) Subscribe thread alerts
Subject:
GetLastInsertID fix for untrimmed...
Summary:
last_insert_id fix for queries with leading spaces
Messages:
1
Author:
Alex Zavrazhniy
Date:
2013-12-21 07:11:28
1. GetLastInsertID fix for untrimmed...
Reply
Report abuse
Alex Zavrazhniy - 2013-12-21 07:11:28
apply trim() on line 1111:
if (strpos(strtolower(trim($sql)), "insert") === 0) {
apply trim() on line 1121:
} else if(strpos(strtolower(trim($sql)), "select") === 0) {
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger