Added: 2 years ago
From: ScoobyDooobyD00
Views: 24,236
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • Great tutorial!

    Please check out my PHP Game tutorial, I hope you'll find it interesting! :)

  • Love the wallpaper ♥♥♥

  • when i click on rock, paper,scissors it still displays all $items and if i type in (for example) '?item=example' it stil displays all $items... and i have checked all of my code...

  • thanks, I am learning php to make a brower game and this is really great

  • @wixnarara me too!!:D

  • no tutorial for Win XP

  • what program do you code in? is it only for mac's ?

  • @GardartHD You can make it with Notepad++

  • Can you make a zip file with the source code and the files you used?

  • program for record ?

  • i like your name, its unique.

  • MAC sucks :)

  • @iron888888 you suck dick

  • Can i have a link for the wallpaper? :)

  • thx but can you give as a source code....

  • can i use notepad?

  • yes

  • @funnyfacesproduction yes, but it'd be better if you got an IDE like eclipse with the php dev add-on

  • @Doyubi

    dude, this script doesn't even work btw, you don't need to put a semi-colon after a comment...

  • Can We Get a source ?

  • @3446698

    NO! FUCKING SCRIPT SKIDDLE!!!

  • @iPhpMaster Haha. I know what what im talking about. Source As in All the files. Really Dood. I know what im talking about. Grow up Haha

  • Nice video, but your code is very unoptimized...

  • If you do if($_GET['item']) that checks to see if it exists and HAS a value. This method is generally more efficient than using isset

  • Thanks, I know I don't have to add ( == TRUE ) but I prefer that, but I never paid attention to make sure it had a value.

  • Good tutorial for beginners though, good job.

  • Thanks

  • You don't have to check if a function equals TRUE or FALSE. If it's true if(isset($_GET['item'])) works the same if you checked if it's equal to true. And when it comes to false you can just use if(!in_array($item,$items)) instead of checking if it actually returns false. The exclamation point will do the same. And since the isset function checks if the variable EXISTS, it does not check if it has a value. You can do $item = $_GET['item'] and as long ?item= is in the URL it will return true.

  • @lifeg0eson666 The isset() function does return true if the variable is set (has a value other than NULL), and not if the variable exists. I may be wrong, so can you explain what you mean by the variable existing?

  • nice vid man! :D

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more