Forum Moderators: coopster

Message Too Old, No Replies

basic php help

need help creating portfolio

         

ads112001

1:11 pm on May 18, 2011 (gmt 0)

10+ Year Member



I'm working on my portfolio site and I currently have a jquery slide show and a comprehensive thumbnail listing. I'd like to make this a little smarter and not have to hard code each new listing in both areas. Any thoughts? Maybe an array? Not entirely sure how to go about this.

rocknbil

4:49 pm on May 18, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Where and how are the listings stored? In a database, in a directory?

In either case, an array will suffice but you'd generally want to output as you go do save memory. This could be done with a while loop, either while reading rows in a database or reading items in a directory.

ads112001

5:38 pm on May 18, 2011 (gmt 0)

10+ Year Member



yeah for now i'm just using in a directory

andrewsmd

5:16 pm on May 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Post your html code that creates the slide show, I'll be able to help more then.