I'm very new at php. I get these errors when I write these codes.
            Asked
            
        
        
            Active
            
        
            Viewed 30 times
        
    -1
            
            
         
    
    
        Professor Abronsius
        
- 33,063
- 5
- 32
- 46
 
    
    
        SAMEAN
        
- 3
- 1
- 
                    please add the actual code rather than a screenshot of the code. The problem is that you do not check for the existence of the querystring parameter `islem` before trying to use it in logic operations – Professor Abronsius Sep 15 '18 at 20:49
2 Answers
0
            
            
        You are using the method POST in the form and getting the variables with GET
Either Try method : GET or try $_POST["islem"];
 
    
    
        Manuraj Sebastian
        
- 84
- 7
0
            check to see if islem was passed in before trying to access it
if (isset($_POST['islem']) {
 // your code here
}
Otherwise you won't be able to load the page up initially in order to submit the form. Also notice that I used _POST here, this is because you used the POST method in your form.
 
    
    
        wheelmaker
        
- 2,975
- 2
- 21
- 32

