1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

image gallery code

Discussion in 'PHP' started by hendkandeel, May 31, 2011.

  1. #1
    Hi ,
    I got "High Slide Script" for making photogallery ..
    The problem is that code has no admin panel to upload images and their description .
    All you make that you write image path into html code of its index page..

    I thought to make admin panel by a small database you enter the image path uploaded and description .

    and the code has a loop to read this data throught a php code .

    I attached what I made .

    The problem is : why my images doesn't appear ???

    NB:
    the original script in the file named : highslide-custom-example.htm

    my code is in the file : highslide-custom-example.php

    I attached the DB also..

    Here is the attachments :

    http://www.seed-share.com/6mghkdpg0ywj
    Thanks
     
    hendkandeel, May 31, 2011 IP
  2. Martin K

    Martin K Active Member

    Messages:
    262
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    May be the problem is in your while echo. Try this
    or this
    sorry, i dont have apache server on this PC and can't help much
     
    Last edited: May 31, 2011
    Martin K, May 31, 2011 IP
  3. hendkandeel

    hendkandeel Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for trying help me.
    but both of two codes code didn't any thing .

    I am depressed ...
     
    hendkandeel, May 31, 2011 IP
  4. hendkandeel

    hendkandeel Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
     
    hendkandeel, May 31, 2011 IP
  5. hendkandeel

    hendkandeel Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ehere are you ?????
     
    hendkandeel, Jun 2, 2011 IP
  6. Martin K

    Martin K Active Member

    Messages:
    262
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    put some error reports on the mysql queries in case the problem is in the DB
     
    Martin K, Jun 2, 2011 IP
  7. meltinzone

    meltinzone Member

    Messages:
    187
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #7
    I need to see a website mate to better understand your problem, it's possibly a few things.
    Though I'll dl the code and run it and see if I can make heads or tails from it.
    I'm guessing it's something to do with the php code getting stuck on the image location. Perhaps the code is only made to find the location and not the description of the image? Have you tried without image description?
    Is there any symbols in the description? An unclosed piece of code somewhere?

    Just a few thoughts without looking at it...
     
    meltinzone, Jun 5, 2011 IP
  8. hendkandeel

    hendkandeel Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    right now it is on localhost... have you the wamp server ?
    I reviewed the code well , I didn't find any unclosed codes or errors !!!!
     
    hendkandeel, Jun 5, 2011 IP
  9. hendkandeel

    hendkandeel Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    wait a little time it will be enabled
     
    hendkandeel, Jun 5, 2011 IP
  10. meltinzone

    meltinzone Member

    Messages:
    187
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #10
    Not on this laptop mate.... :(
    I'll wait.

    As for the code, I spent 8 hours once looking through code to find one ' . ' that had thrown out my whole site. Man that was the worst/best day I can recall. Though if you've checked it twice with a fine tooth comb, then have you tried without image description, just a html code?
     
    meltinzone, Jun 5, 2011 IP