Current Page: 1 of 1
Results 1 - 1 of 1
6 years ago
iamruthermelchor
I'm trying to randomize a data from my SQL database using PHP - and I'm displaying the results in an HTML page. It works fine using this code: $random = mysqli_query($con,"SELECT * FROM tbData WHERE Selected != 0 order by RAND() LIMIT 1" ) ; $row = mysqli_fetch_array($random); I'm retrieving the names in the 'Name' column. The problem is I want to prevent duplicates from
Forum: WampServer English
Current Page: 1 of 1