Block last added Albums Block last added Albums
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Block last added Albums

Started by greeny, November 20, 2003, 04:03:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

greeny

How can I make a block that show the last 10 added Albums

Greetz
Sascha

DJMaze

$db->sql_query("SELECT * FROM cpg_albums SORT BY aid DESC");
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

greeny

How Can I integrate this ??

i tried it but it didn´t work

DJMaze

check the other blocks gtroll created and are in your blocks folder.

If you don't understand php then learn php or else wait untill someone does it for you.

My previous post contains the database query which is needed as answer to your question.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0