I have the following table:
**ID** | **User** | **Password** | **Category**
1      | Test     | PW1          | Cat1
2      | Test2    | PW2          | Cat2
I have the following PHP function to change a single value:
if($_GET['handler'] == "changerang"){
$ID = $_GET['param2'];  
$NewPW = $_GET['param3'];
$mysqli->query("UPDATE User SET Password='".$NewPW."' WHERE User = '".$ID."'");
echo "success"; 
}
That works, but now I want to replace every "Cat" in the entire table in row "Category" with another string, but I don´t know how to change my function with the Replace function..
Could you help me maybe?
Thank you very much :) Best regards, René
 
     
     
     
    