Your're only updating one column in table br here. You can use joins like this to update 2 tables but you'd need to include the second column of the second table in the SET part of the command.
To be perfectly honest, the entire command is a bit wrong for a UPDATE statement. You don't the FROM for example.
The mysql docs might be useful Click Here
Hi, I am a newbie in developing a website. i have tried to connect using mysqli conncetion
Here is my simple code.
// db.php code
//$con = mysqli_connect("localhost","root","","bakery"); ...
If you're in one of those predicaments where cls.__private attributes just aren't enough since they can easily be accessed through inst._cls__private, and you need something a little more secure, here's ...