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?

November 26, 2022, 03:20:42 AM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193603
  • Total Topics: 21103
  • Online today: 74
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 44
Total: 46

Author Topic: Help with code  (Read 5995 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>';