Results 1 to 5 of 5

Thread: slideshow in php mysql image

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default slideshow in php mysql image

    hi i download Ultimate Fade-in slideshow script

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    http://www.hazirmutfaklar.net/slideshow/2.html

    no problem

    but i

    PHP Code:
        imagearray: [
            [
    "http://i26.tinypic.com/11l7ls0.jpg""""""Nothing beats relaxing next to the pool when the weather is hot."],
            [
    "http://i29.tinypic.com/xp3hns.jpg""http://en.wikipedia.org/wiki/Cave""_new""Some day I'd like to explore these caves!"],
            [
    "http://i30.tinypic.com/531q3n.jpg"],
            [
    "http://i31.tinypic.com/119w28m.jpg""""""What a beautiful scene with everything changing colors."//<--no trailing comma after very last image element!
        
    ], 

    PHP Code:
    <?php
    $image1 
    "http://i26.tinypic.com/11l7ls0.jpg";
    $image2 "http://i29.tinypic.com/xp3hns.jpg";
    $image3 "http://i30.tinypic.com/531q3n.jpg";
    $image4 "http://i31.tinypic.com/119w28m.jpg";
    ?>
    PHP Code:
    imagearray: [
            ["<?php $image1 ?>", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
            ["<?php $image2 ?>", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
            ["<?php $image3 ?>"],
            ["<?php $image4 ?>", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
        ],
    http://www.hazirmutfaklar.net/slideshow/2.php
    and
    http://www.uyduharitasi.com/index.html


    does not work slideshow.

    Thank you help me please.
    Last edited by albayco; 05-01-2010 at 02:00 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Instead of (and similar):

    PHP Code:
    <?php $image1 ?>
    do:

    PHP Code:
    <?php echo $image1?>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I like how you make a mistake

    sorry

    i change

    PHP Code:

    imagearray: [
            imagearray: [
            ["<?php echo "$image1"?>", "", "", "Nothing beats relaxing next to the pool when the weather is 

    hot."],
            ["<?php echo "$image2"?>", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to 

    explore these caves!"],
            ["<?php echo "$image3"?>"],
            ["<?php echo "$image4"?>", "", "", "What a beautiful scene with everything changing colors."] 

    //<--no trailing comma after very last image element!
        ],

    http://www.hazirmutfaklar.net/slideshow/2.php


    does not work slideshow.

    Thanks

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Do what I typed:

    Code:
    <?php echo $image1; ?>
    Not what you have:

    Code:
    <?php echo "$image1"; ?>
    Also, this will not work unless you still have (what I thought you said you had, but that cannot be seen even if it is there):

    PHP Code:
    <?php 
    $image1 
    "http://i26.tinypic.com/11l7ls0.jpg"
    $image2 "http://i29.tinypic.com/xp3hns.jpg"
    $image3 "http://i30.tinypic.com/531q3n.jpg"
    $image4 "http://i31.tinypic.com/119w28m.jpg"
    ?>
    This must come before the scripts.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok thank you.

Bookmarks

Posting Permissions

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