I need an example to convert MySQL R6 to MySQL R7.
#3

Thanks for you help but i forgot one thing,
how to convert that :

PHP Code:
format(querysizeof(query), "INSERT INTO `vehicles` (model, owner, colour1, colour2, price) VALUES('%d', '%s', '%d', '%d', '%d')"vehiclepnamecolor1color2vehicleprice);
                
mysql_query(query); 
My code with your help :
PHP Code:
SafeGivePlayerMoney(playerid, -vehicleprice);
                
GetPlayerName(playeridpname24);
                
format(querysizeof(query), "INSERT INTO `vehicles` (model, owner, colour1, colour2, price) VALUES('%d', '%s', '%d', '%d', '%d')"vehiclepnamecolor1color2vehicleprice);
                
mysql_query(query);
                if(
key1 == 9999) {
                    
format(querysizeof query"SELECT `id` FROM `vehicles` WHERE `owner` = '%s' AND `plate` = '15640'"pname);
                    
mysql_function_query(MUMU_MYSQL_HANDLEquerytrue"OnVehicleLoad""d"playerid);
                } 
Reply


Messages In This Thread
I need an example to convert MySQL R6 to MySQL R7. - by Guyl - 03.01.2013, 16:25
Re: I need an example to convert MySQL R6 to MySQL R7. - by ReneG - 03.01.2013, 19:12
Re: I need an example to convert MySQL R6 to MySQL R7. - by Guyl - 03.01.2013, 19:56
Re: I need an example to convert MySQL R6 to MySQL R7. - by ReneG - 03.01.2013, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)