View Single Post
  #51  
Old 29th August 2016, 12:27
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
That's a copy of the function sql_query ($querytme)
From FreeTSP, line for line.
I think it comes from U232, not to certain though, as Krypto added that part.
Full credit to the coder that created it ( don't know his / her name sorry )

It is close to the function you are after.
As I said, you brag about how much custom code you do your self.
And how fantastic it is.

A simple replacement function should be dead easy for a coder of your skills.
Should take about 2 mins, to write it.
I have done most of the function for you.
You just need to fill in the missing pieces.

EDIT

You edited your post while I was posting mine.
There is a very good reason for using sql_query.
When you recode your site to mysqli.
You only need to update your function to accommodate it.

Last edited by fireknight; 29th August 2016 at 12:39.
Reply With Quote