Thread: Working on upgrading my portfolio script.

View Single Post

  #2 (permalink)  

Old 04-26-2005, 04:53 PM

I'll tell you how you can set this up.

make a mysql table that stores the skin name / type / link to image / link to skin / id.

now here is your two queries:

"select distinct(type) from skins"

while (fetch (first query) ) {

"select * FROM skins where type = \"query1[type]\" ORDER BY RAND() LIMIT 1"

}

that should get you started. of course you'll have to modify it a bunch but you get the jist of those two queries.
__________________
Audi Videos | MySpace Layouts | About Me | Kid Sniffles
[ reply ]
missionsix

missionsix is offline Administrator

missionsix's Avatar

Join Date: Feb 2004

Location: under you.

Posts: 4,942

Send a message via AIM to missionsix Send a message via MSN to missionsix