Asked
            
        
        
            Active
            
        
            Viewed 22 times
        
    -4
            
            
        - 
                    You should have posted actual code, but the image of the query was clear enough for me to close the question. – Funk Forty Niner Jan 27 '18 at 13:23
1 Answers
-1
            
            
        First Read This Documentation
Notice the WHERE clause in the UPDATE syntax: The WHERE clause specifies which record or records that should be updated. If you omit the WHERE clause, all records will be updated!
$sql = "UPDATE table SET field = '$variable',field2 = '$variable2'";
In Your code problem is in your update query. check that manualy.
 
    
    
        TarangP
        
- 2,711
- 5
- 20
- 41
