Foreach loop only displays 1st character (job: rewrite a few lines of code)
Būsena | UŽDARYTA |
Biudžetas | 501-1000 Eur |
Sukurta: | 2014-07-01 |
Baigiasi: | 2014-07-08 |
Siūlo: | Nėra |
Apibūdinimas: | Hi, I have a foreach loop which displays the javascript for a Fancybox gallery. It's currently working perfectly, except that each "echo" statement only displays the 1st character. From what I've researched online, that is because of the foreach statements. Perhaps you will want to rewrite the lines of code using another method, that's fine. I have a gallery page with 8 "themes," each theme is a set of paintings. The user clicks on the main image and then fancybox displays the other images in that section near the bottom via thumbnails. MySQL database has the name for each picture. I have given each "theme" an ID from 1-8, and each photo an ID from 1 until the gallery is done (sometimes there are 4 pictures in a gallery, sometimes 14). Attached is (1) my current code, (2) the MySQL table, what the code (3) currently looks like, and (4) what is is supposed to look like. If I forgot something, just let me know. Thanks! Budget: $5 Posted On: July 01, 2014 01:40 UTC ID: 204213432 Category: Web Development > Web Programming Skills: php Country: United States click to apply |
Darbo Tipas(ai): |
|
Duomenų Bazė: | |
Operacinė Sistema: | Linux |
Siūlymų Skaičius: | 0 |