Block last added Albums Block last added Albums
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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