Recent content by Colly

  1. C

    What does this means in php?

    so i have this piece of php code done but there a part of it i dont understand. here it is $ctr++; echo "Sequence found! Total count: " . $ctr . "<br/>"; what is the $ctr++ and what does it do..........is it really needed? can it be changed to something else?? i should have said the reason i...
  2. C

    what is wrong with this php or is it the html file?

    So this is the php file that i need to work but cant figure out what is wrong wiv it <!doctype html><html><head><title>abc</title></head> <body> <?php for ($i = 1; $i <= 50; $i++) { // Repeat the process 50 times $sequence = ""; // Initialise variable to hold the sequence for ($x = 1; $x...
  3. C

    PHP dice roll practice practical?

    so i have this practice practical that i would need to understand before i start the actual exam. but i cant get it to work. here's what i have so far <html><head><title>Mark Checker</title></head> <body> <?php $one=0; $two=0; $three=0; $four=0; $five=0; $six=0...
  4. C

    PHP dice roll - urgent help needed?

    so i have this practice practical that i would need to understand before i start the actual exam. but i cant get it to work. here's what i have so far <html><head><title>Mark Checker</title></head> <body> <?php $one=0; $two=0; $three=0; $four=0; $five=0; $six=0...
Back
Top