Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

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