Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

June 02, 2020, 12:52:20 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190067
  • Total Topics: 20839
  • Online Today: 111
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 48
Total: 49

Author Topic: Help with code  (Read 5436 times)

0 Members and 1 Guest are viewing this topic.

Offline dkharp

  • Jr. Member
  • **
  • Posts: 8
    • Missouri Gun Owners
Help with code
« on: November 06, 2010, 04:59:03 PM »
I am using this code for aeva: How do I change it to random?? Please help:

Quote
$start = 0;
$max_number_of_pics = 4;
$sort = 'm.time_added DESC';

echo '<div style="width: 100%; overflow: hidden;">';

global $sourcedir;
require_once($sourcedir . '/Aeva-Subs.php');   
echo aeva_listItems(aeva_getMediaItems($start, $max_number_of_pics,$sort, 'm.id_media'), true, '', 4);

echo'</div>';