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
/**
* Convert a query to use bind marks
*
* @param string $query to insert bind marks
*
* @return string query with bind marks
*/
public static function insertMarks($query)
{
$pos = -1;
$regex = '/(?<!\')\?(?!\')/';
return preg_replace_callback($regex, function($matches) use (&$pos) { $pos++; return ":pdooci_m$pos"; }, $query);
}
The text was updated successfully, but these errors were encountered:
hi
when we save a value that have question mark “?” it will be changed to “:pdooci_m0”
for example :
https://www.google.com/search?q=php ===> https://www.google.com/search:pdooci_m0q=php
problem is in this function , please fix this
The text was updated successfully, but these errors were encountered: