dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Why won't my simple script work?

  1. #1
    Join Date
    Jun 2003
    Posts
    52

    Why won't my simple script work?

    hi i simplified this out a script i had

    why won't it display

    thanks andrew

    <?php
    $a = ("php"=="php") ? "true":"false";

    $result = "testing string \ $a" ;
    ?>

    <html>

    <body>
    <?php echo ($result); ?>

    </body>
    </html>

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    That code is fine, so you must have a problem somewhere else...

  3. #3
    Join Date
    Jun 2003
    Posts
    52
    thanks i feel silly

    I was sending the php file to the wrong directory on my testing server


    thanks again
    Andrew

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles