i need a totorial on mysql codes

Discussion in 'MySQL' started by mybluehair, Aug 2, 2007.

  1. #1
    hey. does anyone know of a nice totorial for this? im going to put some sql stuff in my website to make it easyer for me, so i dont have to go and edit everysingle page just to change the header. thanks.
     
    mybluehair, Aug 2, 2007 IP
    Mr_Kumar likes this.
  2. jazzylee77

    jazzylee77 Peon

    Messages:
    578
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If that is your only goal it would be easy to use php includes for your header, navigation, ads, footer etc.
     
    jazzylee77, Aug 7, 2007 IP
  3. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #3
    search "mysql TUtorial" in Google or Yahoo :)

    Best
    Jakomo
     
    jakomo, Aug 7, 2007 IP
  4. free

    free Banned

    Messages:
    1,154
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #4
    do this:
    open a new file in notepad and create a web page and save it with a ".php" extension. something like mypage.php

    within the "mypage.php" file put this php code in there

    <?php
    include("anotherpage.php");
    ?>

    and then create another new file like the one below and save it as "anotherpage.php"

    <?php
    echo 'this will show on every page...etc';
    ?>

    now every file/web page that has a .php extension and the code
    <?php
    include("anotherpage.php");
    ?>
    in it will show the contents of the file "anotherpage.php"
     
    free, Aug 7, 2007 IP