MySQL question
#2

PHP код:
mysql_format(dbquerysizeof(query), "SELECT `IP` FROM `users` WHERE `Username` = BINARY('%s') LIMIT 1"GetpName(playerid)); //selects IP from `users`
mysql_pquery(dbquery"AdminLogs""d"playerid); 
somewhere at the bottom of your script:
PHP код:
forward AdminLogs(playerid);
public 
AdminLogs(playerid)
{
    
//do whatever you want with that IP
    
return 1;

Reply


Messages In This Thread
MySQL question - by justjamie - 22.05.2016, 12:50
Re: MySQL question - by luke49 - 22.05.2016, 14:40
Re: MySQL question - by justjamie - 22.05.2016, 15:00
Re: MySQL question - by Gammix - 22.05.2016, 17:56

Forum Jump:


Users browsing this thread: 3 Guest(s)