Author Topic: Latest 5 images in any PHP file ( out of 4images ) .  (Read 2964 times)

0 Members and 1 Guest are viewing this topic.

Offline mooj

  • Pre-Newbie
  • Posts: 2
    • View Profile
Latest 5 images in any PHP file ( out of 4images ) .
« on: February 21, 2006, 01:49:36 PM »

Hi everybody,

I need to get the latest 5 images from 4images and to display it on my ( main index.php ) ..

any way/Suggest to do that ?  :?:

thank you in advance ..

mooj

Offline mooj

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Latest 5 images in any PHP file ( out of 4images ) .
« Reply #1 on: February 23, 2006, 11:15:37 AM »
Up  :?

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: Latest 5 images in any PHP file ( out of 4images ) .
« Reply #2 on: February 23, 2006, 04:55:17 PM »
You can do this with an simple sql query in your main.php site.
(or create an new php file and include in your main.php)

Just look at the code how it's done in the index.php of 4images.

P.S.: I didn't searched for it, but i think somebody else will surely asked this question before with an answer he got.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump