Getting name from SQL, returns inputtext?!
#8

I believe the whole idea of that stock is wrong. Since public functions can not return arrays, which you are doing in that case. Calling the stock, stock calling the public function which returns an array, which is impossible.

If you go ahead and try to compile these lines:
Код:
forward SQLName();
public SQLName()
{
	new result[64];
        return result;
}
Код:
error 090: public functions may not return arrays (symbol "SQLName")
But somehow that cache_get_row function is hiding the error.

Edit: Seems like you solved it, good luck.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)