There are two tables related.
Here is a sample
SELECT * FROM access INNER JOIN pages ON access.id = pages.id
And how to make UPDATE simultaneously in two tables. Something like
UPDATE access INNER JOIN pages ON access.id = pages.id SET .....
There are such UPDATE you
mysql_query("UPDATE pages SET name='".$name."', title='".$title."', active='".$active."', keywords='".$keywords."', description='".$description."', position='".$position."' WHERE id='".$id."' "); mysql_query("UPDATE access SET admin='".$access_admin."', moderator='".$access_moderator."', user='".$access_user."', guest='".$access_guest."' ");
How is it possible to connect them?
In the first update, you can edit the data related to a particular page.
In the second update, you can edit the data in all columns of the table.
It turns out that when you edit a page, the second update edits the data of all pages.
Please help not by word but by deed. If anyone knows the answer, give it a try.