My code advice to upcoming coders

edited May 29 in PHP
<?php
session_start();
$ur_brain_go_hot = "";
$practiceDayNight=false;
$new_to_php = $_GET['phpFutureGuru'];
if($new_to_php == true){
  global $practiceDayNight =true;
  global $ur_brain_go_hot = "Very hot but learning";
  $_SESSION['NEXT_COURSE'] = "OOP";
  $_SESSION['PRICE'] = "WISDOM";
  $msg_to_serious_coders =  "You are geting closer to being a Guru";
  header("Location: /moveToTheNextStage?msg=$msg_to_serious_coders");
  exit();
}else{
  global $practiceDayNight =false;
  global $ur_brain_go_hot = "Very hot am tired and discouraged";
  $_SESSION['NEXT_COURSE'] = "VARIABLE";
  $_SESSION['PRICE'] = "";
  $msg_to_lazy_coders =  "Waste of effort";
  header("Location: /startOverAgainOrGetOut.php?msg=$msg_to_lazy_coders");
  exit();
}
?>

Comments

  • Hahahaha, this is a good one o. They must never be tired o.

  • Never

    1. if you can read this code and understand it functionalities then you can be anything in the world of programming
    2. if you cant grap anything from the nonsense above forget programming and find another thing
    3. if you get few thing fron that nonsense above, then with little effort and small reading and practice in weeks you will be on your way to becoming on of the best coder in the world
    4. PLEASE DONT RUN THAT CODE.....lol
  • Like/Dislike feature is gone?

  • If u don't understand d code above
    Gather here let's take selfie

  • @wale said:
    Like/Dislike feature is gone?

    Would be back

  • going back to some of my old php code i found something like this....

    if(isset($confused)){
    if($confused == ""){
    if(empty($confused)){
    echo "Have read too much, i really need to learn from africoders guru....lol";
    }
    }
    }

  • That is a badass code you've got there. Extremely confused something, convert it to python and see the clear difference.

  • lol...ah ah

Sign In or Register to comment.