SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Php-problem

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Belgium
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Php-problem

    Hello, I've got a problem with this php-script: I want to make a page where all my cartoon will be viewed ('cartoons.php') . So I fouond this script but it dopesn't work...

    --- This is the part that I placed in 'cartoons.php' ---

    <?

    $folder = "/targets/cartoons/cartoons/mensen";

    $alt = "Cartoon";

    if(isset($cartoon)){
    echo"<img alt=\"".$alt." src=\"".$folder."/".$cartoon.">";


    }
    else{
    echo"<b>[ Oeps....., er is een foutje opgetreden. Gelieve de webmaster te contacteren ]</b>";
    }

    ?>

    --- End ---

    ...and that's my hyperlink on the other page to 'cartoons.php': "../cartoons.php?cartoon=armhaak.jpg"

    --> I don't know what's the problem here. Can anyone help me?

    Thanx in advance.

  2. #2
    [Call me Bram] iBram007's Avatar
    Join Date
    Feb 2001
    Location
    Belgium
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen this before

    You will find the solution on the other board where you've posted your problem...


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
  •