Raised This Month: $ Target: $400
 0% 

Problem with SQL_FieldNameToNum


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jonatat
Senior Member
Join Date: Dec 2017
Old 07-09-2018 , 05:40   Problem with SQL_FieldNameToNum
Reply With Quote #1

I need take out username from mysql my this:

PHP Code:
new data_username SQL_FieldNameToNum(hQuery"username");
pUsername[id] = SQL_ReadResult(hQuerydata_username); 
formatex menu:

PHP Code:
formatex(usernamecheckcharsmax(usernamecheck), "Player: %s"pUsername[pevPlayer]); 
But i'm getting only 0 or 1, but not username. Why?

Example: Should be "NickNAme1". Getting: "0"

Last edited by jonatat; 07-09-2018 at 07:30.
jonatat is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode