sqlx my code wrong ?
hi i have db and table with the name "tbname" and column "name"
when i do this PHP Code:
but i have the name "loler" and i want that print this "Your name is loler" |
Re: sqlx my code wrong ?
Code:
server_cmd("amx_say your name is %d ",DataNum) |
Re: sqlx my code wrong ?
><
so ? lol i try %s it's not work too |
Re: sqlx my code wrong ?
when i do %s it's print null ("")
|
Re: sqlx my code wrong ?
Double post?? -/-
Code:
new DataNum[33]; |
Re: sqlx my code wrong ?
sorry for the double i use ff so not all the picture show where they need ...
and i do what you say and it say Error: Array must be indexed (variable "DataNum") on line 95 |
Re: sqlx my code wrong ?
Ye but, look... You have to understand the difference between int and string. When you create new String[33] you have to use index there, like String[id] = "bllaaabla". Ofc when you read someone name get_user_name(id, String, 32), it's not needed because there is id on the native...
|
Re: sqlx my code wrong ?
:\
i dont understated you can help me pls ? :( |
Re: sqlx my code wrong ?
omg success
PHP Code:
|
Re: sqlx my code wrong ?
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 09:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.