I have the following (Ive changed field names and table for ease of posting) very simple code:
$sql = "SELECT a,b,c,d FROM `tableA` WHERE a='Y' ORDER BY RAND()";
$result = mysqli_query(login(),$sql);
all works fine....however Ive decided to add a further bit of functionality so have added...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.