Page 1 of 1

MySQl help needed

Posted: Mon Apr 13, 2009 2:02 pm
by horzaboy
Hello,
Would just like to know if this is possible!

On http://horza.eu/spots/ I have 2 columns - "t shirts for girls" and " t shirts for boys".
At the moment this is just in html format. What I want to achieve is, to have each product pulled from a database and then shown in that format eg 2 images per row rather than all images shown on the same row.

"t shirts for girls" and " t shirts for boys" are from 2 separate tables. I know how to pull the results from the database, but is there a generic way to format it?

Would really appreciate your help

Regards

Adam

Re: MySQl help needed

Posted: Mon Apr 13, 2009 2:10 pm
by n00b Saibot
have you tried using loops? have you written any code for it till yet? can you show us something?

Re: MySQl help needed

Posted: Mon Apr 13, 2009 2:13 pm
by horzaboy
no im just looking for a generic solution, all ive done is used standard php and MySQL statement to get each product from the database.

Re: MySQl help needed

Posted: Thu Apr 16, 2009 11:25 am
by horzaboy
anyone?

Re: MySQl help needed

Posted: Thu Apr 16, 2009 2:03 pm
by pickle
Generic solutions aren't very good in my opinion. They're not efficient, and if you didn't write it, you're pretty much screwed if you want to modify/fix it in the future. I'd look at writing your own solution. In the grand scheme of things this isn't very complex, so it shouldn't take too long.

Re: MySQl help needed

Posted: Thu Apr 16, 2009 2:41 pm
by horzaboy
yeh but thats the point, i dont have a clue how to get started/ approach this!