include ("connect.php");
$db = "payments";
$query = "UPDATE replies SET moved='$fromRen' ";
$query .= " where login='$login' ";
$result = mysql_db_query($db,$query,$connection);
$queryB = "UPDATE personalFolders SET folder='$fromRen' ";
$queryB .= " where login='$login' ";
$resultB = mysql_db_query($db,$queryB,$connection);
I need to update two tables at once within the same database.
My code is as shown above.
Unfortunately, only the first table gets updated.
Can somebody tell me why this is?
TIA.