21.01.2015, 20:45
Hi guys!
How to check if my business variable has a name( BizName) ?
I am checking wether bizname has something more than just a blank varchar (yes, I am using mysql) or else if it's empty blahblah...
Here I "grab" it from the database
And now when I am creating 3D text labels, I am checking if the name is something or it's default blank
This isn't working, how can I make it work? Do I have to use strcmp?
How to check if my business variable has a name( BizName) ?
I am checking wether bizname has something more than just a blank varchar (yes, I am using mysql) or else if it's empty blahblah...
Here I "grab" it from the database
pawn Код:
cache_get_field_content(i,"BizName",BizInfo[i][BizName],MySQLHandle,40);
pawn Код:
if(BizInfo[idbiz][BizName])
{
}
else
{
}