What are the advantages and disadvantages of using framesets in PHP for website navigation?

Using framesets in PHP for website navigation can provide a way to create a consistent layout across multiple pages without having to duplicate code. However, framesets can also make the website harder to maintain and update, as each frame is essentially a separate webpage that needs to be edited individually. Additionally, framesets can cause issues with search engine optimization and accessibility.

<!DOCTYPE html>
<html>
<head>
    <title>Website with Frameset Navigation</title>
</head>
<frameset rows="20%,80%">
    <frame src="header.php" scrolling="no">
    <frameset cols="20%,80%">
        <frame src="menu.php" scrolling="auto">
        <frame src="content.php" scrolling="auto">
    </frameset>
</frameset>
</html>