Mysql check if user exists
#3

Quote:
Originally Posted by Suicidal.Banana
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/MySQL#mysql_num_rows
if 0, no user was found, see example code on the above link
(do a select query to fetch user, then do the mysql_num_rows on the result of that query)
These functions are outdated for r39-2, free_result etc. these were all removed.

Which is exactly why I'm asking this question today.
Reply


Messages In This Thread
Mysql check if user exists - by IKnowWhatIAmDoing - 30.06.2015, 09:51
Re: Mysql check if user exists - by Suicidal.Banana - 30.06.2015, 09:54
Re: Mysql check if user exists - by IKnowWhatIAmDoing - 30.06.2015, 10:34
Re: Mysql check if user exists - by Suicidal.Banana - 30.06.2015, 10:37
Re: Mysql check if user exists - by SpikeSpigel - 30.06.2015, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)