You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have sarch the database with your form type and your function addCondition adds additional slashes into the mysql code as shown below, so no result founds.
SELECT COUNT(*) FROM user WHERE username LIKE '%%cansozeri%%'
The mysql query has to be like this
SELECT COUNT(*) FROM user WHERE username LIKE '%cansozeri%'
Hi,
I have sarch the database with your form type and your function addCondition adds additional slashes into the mysql code as shown below, so no result founds.
SELECT COUNT(*) FROM
user
WHEREusername
LIKE '%%cansozeri%%'The mysql query has to be like this
SELECT COUNT(*) FROM
user
WHEREusername
LIKE '%cansozeri%'I think this is the code that can be change ..
$value = '%' . strtr($value, ['%'=>'%', '_'=>'_', ''=>'\']) . '%';
The text was updated successfully, but these errors were encountered: