cache_get_value
#1

Hi,

If i get value string is very big, for ex my variable is 1000, but string is 2000, how to check if string will be bigger, than 1000 i don't want to get him
Reply
#2

Well, cache_get_value takes max_len parameter so it will always be constrained to the size of your array. You can limit your sql query though:
Quote:

SELECT mytext FROM mytexts WHERE LENGTH(mytext) <= 1000

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)