18.11.2015, 18:45
Код HTML:
while(mysql_fetch_row_format(query,"|")) { mysql_fetch_field_row(savingstring[1], "username"); strmid(PlayerInfo[playerid][uName], savingstring[1], 0, strlen(savingstring[1]), 255); mysql_fetch_field_row(savingstring[2], "origin"); strmid(PlayerInfo[playerid][pOrigin], savingstring[2], strlen(savingstring[1]), strlen(savingstring[2]), 255); }
PHP код:
strmid(string, "Extract 'HELLO' without the !!!!: HELLO!!!!", 34, 39); //string contains "HELLO"