title: php mysql update two tables/columns
body: <p>my tables: <strong>blocked_peoples</strong> and <strong>members</strong>.
  In table <strong>blocked_peoples</strong> column <strong>ips</strong> = <strong>members</strong> column <strong>signup_ip</strong>.</p>
  
  <p>Let's say i wanna block person from accessing my site. I block user by his IP and it too update members table and column <strong>banned</strong> with <strong>1</strong>.</p>
  
  <p>In short, if i update table blocked_peoples (column ips) and it's result found/same as members (column signup_ip) in members table update column banned with 1.</p>
  
  <p>It's possible ? If yes, how sql will look like ?</p>