|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Jun 2011
Posts: 136
Reputation: 0
|
hello !
i'm download mysql plugin, I tried to build a Registration and Logging Now that's the problem: Even if the user exists, he shows him the dialogue of the registration Here's the code: pawn Code:
What's the problem? |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2008
Posts: 1,433
Reputation: 51
|
Delete the exists variable, it doesn't help you. mysql_query returns 1 on success and 0 on failure and mysql_num_rows has an optional parameter, which is the connection handle returned by mysql_connect. So, in the end, you should be doing something like:
pawn Code:
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Jun 2011
Posts: 136
Reputation: 0
|
thank you very much !!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL Plugin R5 plugin problem | dud | Scripting Help | 12 | 05/12/2011 06:28 PM |
| Problem with mysql plugin... | Vvolk | Help Archive | 2 | 06/05/2011 01:03 PM |
| mysql plugin r4 problem, query | DowNlOaD_ | Help Archive | 0 | 22/05/2010 12:12 PM |
| Problem with MySQL plugin | Filka | Server Support | 4 | 17/10/2009 04:59 PM |
| MOVED: Problem with MySQL plugin | dugi | Help Archive | 0 | 17/10/2009 04:13 PM |