Issues with structual replacement
I am trying to update the obsolete mysql_ functions with the new mysqli class.
My Search Template:
$row$ = mysql_fetch_array($query$)
My Replacement template:
$row$ = $query$->fetch_array()
Giving me back the Error "Unsopported replacement pattern.."
Changing my search template to
$row$ = mysql_fetch_array($query$))
strangly solved the problem. Giving me this
No template '$dates$ = mysql_fetch_array($quere$))' found in All Places
Can sb. explain me what I´m doing wrong?
Thanks a lot!
Please sign in to leave a comment.
Hello,
Could you please provide a code sample with the existing code and the desired result please?
Hello,
I want to change the mysql statement
$row = mysql_fetch_array($query)
to mysqli
$row = $query->fetch_array();
The old Version can be found approx. 150 times, using the structual search function!
Thanks for help!