Karl Blessing
Programmer
(I am using PHP on a *nix box)
I would like to make the results returned from this query return in a random order. ie: 1 2 3 4 5 => 2 4 1 3 5 , and different each time the query is run.
(also if anyone knows how to make that shorter/better let me know )
Karl Blessing
PHP/MySQL Developer
I would like to make the results returned from this query return in a random order. ie: 1 2 3 4 5 => 2 4 1 3 5 , and different each time the query is run.
Code:
select f.ID as fid, d.Title as denom, c.denom as did, c.ID as ID, c.name, c.imgw, c.bio, c.imgh, c.city, s.state as state, co.description as size FROM featured as f, churches as c, states as s, congregation as co, denomination as d where s.stateid = c.state AND co.ID = c.size AND c.ID = f.clientid AND f.type = 'c' AND d.ID = c.denom
(also if anyone knows how to make that shorter/better let me know )
Karl Blessing
PHP/MySQL Developer