Array size by MySQL rows number?
#5

As Vince said, array size must be known at compile-time.
Creating the array inside the function would be pointless as well, because it will get deleted when you exit the function and taking the data with it.

Just make the array big enough to fit everything and put in outside functions.
Reply


Messages In This Thread
Array size by MySQL rows number? - by Stuneris - 22.11.2014, 19:23
Re: Array size by MySQL rows number? - by Vince - 22.11.2014, 19:33
Re: Array size by MySQL rows number? - by Stuneris - 22.11.2014, 19:38
Re : Array size by MySQL rows number? - by Dutheil - 22.11.2014, 19:47
Re: Array size by MySQL rows number? - by PowerPC603 - 22.11.2014, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)