require('/home/cnc1410/public_html/cnccom/connect.php'); // get results from database $result = mysqli_query($connection,"SELECT * FROM feedback WHERE id IN (53,26,52,50,45,46,42,25,43,45,34,17,29,30,27,31,32,33,40,41,17,21,24,19,14,15,10,12,9,7,5,8,12,9) ORDER BY FIELD(id,24,43,53,27,26,21,31,52,50,27,46,42,25,43,45,34,17,29,8,32,40,41,33,30,17,19,12,14,15,10,9,7,5);") or die(mysqli_error()); mysqli_close($connection); // display data in table // loop through results of database query, displaying them in the table while($row = mysqli_fetch_array( $result )) { $plink=$row['publicProfileUrl'] ; $url = $row['pictureURL']; echo '
' ; echo ' CFA Testimonails '; echo '
'; echo '

'; echo $row['feedback']; echo '

'; echo'

'; echo ' '; echo $row['first_name']; echo "\t"; echo $row['last_name'] ; echo ''; echo'

'; echo '
' ; // echo out the contents of each row into a table } ?>