View Single Post
  #47  
Old 28th August 2016, 13:38
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
Quote:
Originally Posted by Napon View Post
change Mysql too sql_query
its not as easy as that you will need to change alot of code to match it
It is not as hard as you make out, if you look at it logically.

I use TextPad as my php editor.
If I hit the F8 key, a pop up box appears.
It has 2 input boxes.

1: Find
2: Replace

Box Number 1 ( Find ) I input mysql_query
Box Number 2 ( Replace ) I input sql_query

I then click the return button named Replace All
And it replaces all the mysql_query with the new sql_query
The whole page in one click.
Takes about 5 seconds per page.

Then all you need to do is create the function for sql_query.

Most php editors will have the same type of find and replace text option.
You just have to look through your php editor and find it.
Reply With Quote