[MySQL R33+]data string not loaded!
#1

SLOVED..
Reply
#2

cache_get_field_content(i, "hname", hInfo[h_id][HouseName]);
You need to specified the lenght
cache_get_field_content(i, "hname", hInfo[h_id][HouseName], 35);

https://sampwiki.blast.hk/wiki/MySQL/R33..._field_content
Read the note
Reply
#3

PHP код:
function LoadHouseData 
Try making it a Public Function assuming you use function along with your function name. function is used to define a UDF in JavaScript not in Pawno.
Reply
#4

Thank you GTLS and Banditul18 for trying
Reply
#5

Код:
cache_get_field_content(i, "hname", hInfo[h_id][HouseName], g_SQL_handle,35);
		cache_get_field_content(i, "howner", hInfo[h_id][HouseOwner], g_SQL_handle,21);
		cache_get_field_content(i, "hlocation", hInfo[h_id][HouseLocation], g_SQL_handle,30);
		cache_get_field_content(i, "hpass", hInfo[h_id][HousePassword], g_SQL_handle,24);
Try with this, if this will not work , i'm out of ideas
Reply
#6

SLOVED..
Thank you Banditul18 your last idea Worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)