How to save these arrays or variables into mysql ?
Is it something like this ?
PHP Code:
p_achieviments[ 33 ][ MAXACHIEVIMENTS ], p_kills[ 33 ][ MAXACHIEVIMENTS ],
achvi_name[ 33 ][ MAXACHIEVIMENTS ];
new szAuth[ 33 ];
new szKey[ 64 ];
get_user_ip( id, szAuth , charsmax( szAuth ), 1);
formatex( szKey , 63 , "%s-IP" , szAuth );
static szQuery[ 128 ];
formatex( szQuery, 127, "INSERT INTO `achieviment_table` ( `player_id`, `achieviment_name`, `achieviment_id` ) VALUES ( '%s', '%s', '%d' );", szAuth , achvi_name[ id ][ i ], p_achieviments[ id ][ i ] );