PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
dear frnz..
im learning php.. i'm having the problem with the below code.. i'm not getting any error. the page is always showing the message "Welcome to the guessing machine!". it means the condition if ( ! isset( $guess ) ) is always true. the given value in the html form is not moved to the php varable $guess. can we fix this without using $_POST['guess'] ? also i got the error with PHP_SELF. so ive changed to $_SERVER['PH_SELF'].
thanks for the reply..
actually i've found this code in a php learning material(SAMSTeachYourselfPHP4in24Hours.pdf). i'm wondering how come that can have the example code which won't work!!!!! i dont know whether i can continue with that pdf..