interuption while running php file

Posted by user216112 on Stack Overflow See other posts from Stack Overflow or by user216112
Published on 2010-03-17T08:58:43Z Indexed on 2010/03/17 9:01 UTC
Read the original article Hit count: 211

Filed under:

this is my code in php bt its not working problerly as required..the output is not according to this.. i m trying to run this in wamp server. plz help /* Binary Search h1 {color: blue}

Computer guess number by using binary search Input your hidden number: (1-99)
Here; } else { if ($max_num==-1 && $min_num==-1) { $max_num = 100; $min_num = 0; $result_num = $hid_num; } else { if ($comparision == "bigger") { $min_num = $guess_num; } else if ($comparision == "smaller") { $max_num = $guess_num; } } $guess_num = ($max_num + $min_num)/2; setType($guess_num,"integer"); print "Computer guess

$guess_num

"; if ($guess_num == $result_num) { $flag_num = -1; } if ($flag_num == -1) { print

Congratulation, Computer win

>>" > Here; } else { print
Your intruction: Bigger Smaller
Here; } } ?>

*/

© Stack Overflow or respective owner

Related posts about php5