Update multiply record and ignore empty fields

            $sql1 = "Update my_text SET text1 ='$text1' WHERE id=2";
            $target1=mysqli_query($connection, $sql1);
        I'm trying to to update record in my db, but for some reason its not working. I want to ignore empty input fields as well.

Is there a question here? And use the code formatting tag. <> in the menu.

I just found the solution so ytou can delete this topic

Sponsor our Newsletter | Privacy Policy | Terms of Service