Results 1 to 2 of 2

Thread: How to load Photo from database

  1. #1
    Join Date
    May 2010
    Posts
    3

    How to load Photo from database

    i want to make webpage like Manga

    http://manga.animea.net/zero-chapter-1-2-page-1.html

    if you click on th picture, webpage will be direct to next picture...

    help me about database and webpage source

  2. #2
    Join Date
    May 2010
    Location
    England
    Posts
    54
    There actually isn't a need for a database here

    name the images sequentially and put them in a folder on your webserver

    have a single php page that takes an argument in its url "&page=4" for instance

    get the page number from the URL using $_GET

    check if the image (4.png) or whatever exists

    check if the next image (5.png) exists

    echo out a page including the url to that image, and a link around the image pointing at the next one if it exists

    let me know if you need more help writing it

Similar Threads

  1. ASP - unable to locate database
    By fouraces in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 05 Feb 2009, 05:42 PM
  2. database download automation
    By brokenshadows in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 07 Jul 2007, 09:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •