Random images from database

Error: 8192 [usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero] in /home/dh_hjrpxy/website.space123.net/random_images_from_db.php on line 63