View Single Post
Old 01-12-2013, 10:43 PM   PM User | #5
apotd
New Coder

 
Join Date: Oct 2011
Posts: 77
Thanks: 1
Thanked 0 Times in 0 Posts
apotd is an unknown quantity at this point
The easy way that doesn't guarantee unique images is fine. But I'm a bit confused. To get my records from the updates table I use this

Code:
$query = "SELECT *FROM updates ORDER BY date DESC";
So for that
Code:
SELECT images FROM portfolio ORDER BY RAND();
part, where do I put it? In the same query? Or do I have to make a new query? I'm sorry I'm really completely new to this and when I try putting it together I'm getting errors.
apotd is offline   Reply With Quote