PDA

View Full Version : PHP Randomized Array Results from Query Help


BfB
10-01-2003, 04:49 PM
I am really new to PHP so I have been playing with syntax but I seem to be trying something way above my current level ... please help

I need to set up a table (not a problem) with the following fields: uniqueid, sponsor, link, img

I need something that does a query on this table, puts the results in an array, randomizes the array, displays the array in a simple 1 column table. The results will be an img tag for an ad button with the link result and the name in the title attribute.

Fairly simple and I have seen php examples of the query/array/random stuff however vbb is very complex and I am unsure of all the syntax along with the placement/requirments for php files and templates.

If given some bare bones and a direction I should beable to take it from there....

Thank you so very much!

-J

BfB
10-10-2003, 03:40 AM
I really need help with writing the query, putting it into an array, randomizing the array, and displaying the array in the header code .....

Thanks for any help