The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 9 of 9

Thread: What did i miss?

  1. #1

    What did i miss?

    I don't know if this thread is in the right folder but anyway,

    I have made a site whit php and at the bottom it displays a "1" that is not in the script but somehow it genarates it?

    Does anyone know where the problem is?

    Here is the site: http://www.intermediamakers.nl/fakkert/

    thanks Patrick

  2. #2
    youve got a "1" between youre tables at the bottom of the page, cant tell if its coming from your php though

  3. #3
    Yes its from the php not in the tables. I looked in the loaded pages that the php file calls, and there is no "1" in there :S but thanks anyway

  4. #4
    I'm fairly sure this is the wrong forum, u might want one like server side scripting (if kirupa has it, i only use this forum) but i don't think anyone will be able to help u if u don't post any code (unless this is a regular phenomen with php)

  5. #5
    Your right, but how do i get my script in a form, he reads it as a scipt and half is not shown then
    Last edited by p_stevens; October 6th, 2004 at 09:35 AM.

  6. #6
    is that all of it??

    BTW 100th post yay!!

  7. #7
    put tags around it "["PHP"]" put stuff in here!"["/PHP"]" (no quotes just trying to block it!)

  8. #8
    PHP Code:





    <html>
    <head>
    <title>Mazda | Seat | Hyundai...... Fakkert Groep</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="css/stylehome.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <?php include('header.php'); ?>
    <?php 
    $pagina 
    "" .strtolower($_GET['page']).".php";
    if (
    file_exists($pagina))
       {
          echo include(
    $pagina);
       }
       else
       {
          echo include(
    'home.php');
       }
    ?>
    <?php 
    include('footer.php'); ?>
    </body>
    </html>

  9. #9
    my guess is that the 1 comes from "footer.php".. in the code you posted I don't see any ones
    Last edited by virusescu; October 6th, 2004 at 11:12 AM.
    ...lurking around

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
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012