1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Little help in php.. Please urgent...

Discussion in 'White Hat SEO' started by jp_smith86, Jan 15, 2013.

  1. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    Hi Members,


    Please can anyone help me in php to get my website designed. I have a basic knowledge of PHP.. so stuck somewhere..

    want to set a footer as default on every page of my website.

    help please.

    Thanks
     
  2. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    anyone?? Please it's very urgent... :(
     
  3. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    Code:
    <?php
    // This code calls the footer file from the root directory
    include('footer.inc');
    ?>
    
    You would create your footer code and put in the footer.inc file (just rename a text files extension from .txt to .inc)

    --> General note: If you're new to PHP and this is an "urgent" matter you probably shouldn't be trying to code the site in PHP, it's not something you just pick up and magically works. Takes some practice.
     
    Last edited: Jan 15, 2013
  4. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:

    can i add you on skype?
     
  5. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    I can explain you that what kind of footer i want,
     
  6. Orbit143

    Orbit143 Senior Member

    Joined:
    Aug 8, 2010
    Messages:
    893
    Likes Received:
    588
    Location:
    /home
    Thats all you need from PHP part, just include the file. The rest is done by HTML and CSS.
     
  7. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    But i want to show you something that what kind of footer i want. if someone come on skype please.
     
  8. Superconservativenes

    Superconservativenes Registered Member

    Joined:
    Dec 9, 2012
    Messages:
    85
    Likes Received:
    29
    PM me and I'll add you on Skype.
     
    • Thanks Thanks x 1
  9. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    pm'ed you... thanks :)
     
  10. thekingmaker

    thekingmaker Regular Member

    Joined:
    Jan 15, 2013
    Messages:
    271
    Likes Received:
    271
    Hey mate, sorry i dont know php, could not reply in pm since i need 15 posts
     
  11. dabuti77

    dabuti77 Newbie

    Joined:
    Nov 16, 2012
    Messages:
    3
    Likes Received:
    0
    Why don't you try with WordPress? Is really easy and you can get anything you want...

    Enviado desde mi Nexus 7 usando Tapatalk 2
     
  12. jp_smith86

    jp_smith86 Senior Member

    Joined:
    Jul 6, 2012
    Messages:
    855
    Likes Received:
    339
    Location:
    DIL APNA PUNJABI
    Home Page:
    90% work is already done. just stuck with one little thing

    it's ok buddy.
     
    • Thanks Thanks x 1