Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 19 Online
OpenStudy (anonymous):

php help please .. $images = array_merge(glob("slide/*.jpeg"), glob("slide/*.jpg"),glob("slide/*.gif")); i am writing the above line to make an array of images present in folder slide. It is working fine on localhost but giving the below error on my webhost .. Warning: array_merge() [function.array-merge]: Argument #3 is not an array on line 2

OpenStudy (anonymous):

does it work? because you may get warnings and it will work, but if you get error then you need to do something

OpenStudy (anonymous):

its was giving error now i figured it out what was wrong, in php5 to make arrays to need to write array keyword ...

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!