Help php Please.

Discussion in 'PHP' started by krator, Aug 14, 2010.

  1. #1
    Hello good day everyone, my personal website is almost ready just missing part of the page q do not know what is happening ..
    the site is that http://www.creddinh.com.br/dinh, look I copied the index.php and changed the name to an "enterprise" (without quotes) then became the index.php and I empreendimentos.php presice a Menu in ventures that is where the customer will add more projects, understand?
    empreendimentos.php not only that is calling the home.php file that is called in index.php, here's the part where he calls the file.

    here's the domain http://www.creddinh.com.br/dinh/empreendimentos.php
    he's giving "Page Not Found" but should not appear, was to show the home.php.
    what do not understand is that I just copied and it calls the index.php file normal already and he does not call in empreendimentos.php x_x.
    I thank you all!

    and my apologies if I could not well be naive.
     
    krator, Aug 14, 2010 IP
  2. jpratama

    jpratama Member

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    I tried to understand the question since I was quite disoriented with the Portegese words that I didn't understand :) Maybe the case is the $i variable was not available at all. If you do !$i the variable make sure the variable is exist. You might want to change to the very simple code.
    if(!isset($i)){ $i='home'; }
    PHP:
    Hope that helps, good luck with your personal site.
     
    jpratama, Aug 14, 2010 IP
  3. krator

    krator Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    friend did not work: S I'm very beginner and stupid: S, and still am Brazilian, more thanks for the reply, if you have a different I look.

    I thank you:)
     
    krator, Aug 17, 2010 IP