Jump to content

ard1998

Member
  • Posts

    25
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    ard1998 got a reaction from Benjamin Misell in Ultimate Programming Resources Thread   
    and they have student discounts (free licence for 1 year, usable for all their IDE's)
  2. Informative
    ard1998 got a reaction from Joveice in PHP array   
    why are you making a multidimensional array for an menu bar, whats the problem with 
    <?php include "menubar.php"; ?> ?
     
    if you really want to do this method, you can take a look at http://www.w3schools.com/php/php_arrays_multi.asp
  3. Like
    ard1998 got a reaction from Joveice in PHP array   
    personally, i like to make an top.php and an footer.php like this
     
    top.php
    <?php session_start(); ?> <!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="main.css"> <script type="text/javascript" src="main.js"></script> </head> <body> <div id="top"> <div id="menu"> <a href="index.php">HOME</a> <a href="guestbook.php">GUEST BOOK</a> <?php //check if user is logged in if(isset($_SESSION["username"]){ echo "<a href="forum.php">OUR SECRET FORUM</a>"; } else { echo "<a href="login.php">LOGIN</a>"; } ?> </div> </div>  
    index.php
    <?php include "top.php" ?> content here <?php include "footer.html" ?>  
    footer.html
    <div id="bottom"> <h2>Footer</h2> </div> </body></html>  
    i just seperate one php file into multiple files, so i can just copy the top and the bottom of the page. one change is easy done and can directly been seen on all pages this is included in. and the menubar is dynamic.
  4. Agree
    ard1998 got a reaction from FullTank1337 in Why do people say xBox is better when PS4 is?   
    im about to give an neutral answare on this question.
     
    peaple who says that a console is better than the other is because they have a good experience wit that console. (and mostley, they don't have a full experience of the other console where they speaking about. I don't say this things myself untill i have played both consoles for a time. usely peaple who say it are fanboys (on both sides). but you have to compare consoles at almost identical situations. like playing the same game on both consoles. after that, you can say what controller feels better what graphics feel better and what extra feautures feel better. but almost nobody does that. becouse thay believe that microsoft is better than sony or otherwhise, and will not test the other console becouse of this useless opinion.
  5. Agree
    ard1998 got a reaction from Kalebtheking12 in best free place to learn HTML and CSS   
    i recommed to learn the basics on codeacademy, and to learn the rest from w3schools. w3. i don't recommed to begin with w3schools, becouse the explanation is'nt as good as at other websites, but it has the most handsome information.
×