Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Napon Modded TBDev (http://www.bvlist.com/showthread.php?t=10735)

fireknight 29th August 2016 12:27

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.

joeroberts 29th August 2016 12:39

Quote:

Originally Posted by Napon (Post 49271)
i see where you are coming from mate this would not work the above mate at all and its a long way of doing it too mate sorry it would not work at all ive given up on this when bittorrent can do this for you with out adding to every page

sql_query();

to every page and it would not work at all

:wallbash::wallbash::wallbash::wallbash:

You do not add that Function to every page it is added to the one page that is used on every page AKA (global.php, functions.php)

and doing it like that is FARRRRRRR easier then editing every query to use mysqli

and you call your self a coder?
I have used this standerd in my source sence day one when I added mysqli to my source it only took one day to create the mysqli class functions and did not need to edit any of the pages.

DND 29th August 2016 13:42

or could just use mysqli converter and convert mysql_query line to mysqli standard like i use it :)
tricky part is when switching to OOP+PDO :)

Napon 29th August 2016 14:11

ive try all the above over this few days and still the same do not bash i wanted to get my torrant strike out on here

so ive given up on this im not geting the correct info at all from noone at all so it stays as it is so there be no torrantstrike on here from me

Timisoreanul 29th August 2016 15:34

Ohhh nooo , why? ... the tragedy !
You never was going to post it!
"Your torrantstrike"

Quote:

Originally Posted by Napon (Post 49275)
im not geting the correct info at all from noone at all so it stays as it is so there be no torrantstrike on here from me

And also fireknight was nice for him to explain for beginers and pace to pace.

Napon 29th August 2016 15:55

And yes i was going to do not presume i would not {solved} now working on sql_query now ill set up msqli

shorto 31st August 2016 00:41

Any possibility for php7 support?
PHP Code:

ErrorCall to undefined function set_magic_quotes_runtime() 

Is killing me

Marco 4th October 2016 21:24

Hello
 
--- solved---

Napon 8th October 2016 10:55

ill repo this up in a few hours and send it back here i think it need it

M1601 16th May 2017 12:08

Quote:

Originally Posted by Napon (Post 49479)
ill repo this up in a few hours and send it back here i think it need it

Notice: Undefined index: up_success in D:\Ampps\www\mybonus.php on line 33

Notice: Undefined index: class_success in D:\Ampps\www\mybonus.php on line 50

Notice: Undefined index: smile_success in D:\Ampps\www\mybonus.php on line 56

Notice: Undefined index: warning_success in D:\Ampps\www\mybonus.php on line 62

Notice: Undefined index: invite_success in D:\Ampps\www\mybonus.php on line 68

Notice: Undefined index: title_success in D:\Ampps\www\mybonus.php on line 74

Notice: Undefined index: ratio_success in D:\Ampps\www\mybonus.php on line 80

Notice: Undefined index: gift_fail in D:\Ampps\www\mybonus.php on line 86

Notice: Undefined index: gift_fail_user in D:\Ampps\www\mybonus.php on line 92

Notice: Undefined index: gift_fail_points in D:\Ampps\www\mybonus.php on line 98

Notice: Undefined index: gift_success in D:\Ampps\www\mybonus.php on line 104

Notice: Undefined index: exchange in D:\Ampps\www\mybonus.php on line 111

Notice: Undefined variable: SITENAME in D:\Ampps\www\mybonus.php on line 246

Notice: Undefined variable: count1 in D:\Ampps\www\mybonus.php on line 249


Pls fix this


All times are GMT +2. The time now is 18:54.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.