I don't know anything about dreamweaver, but this might help.
Let's say we are using two <div> elements, the needed data could be read from $_GET. Positioning with CSS.
Code: Select all
something.php
<?php
$possible_show=array{" ", "s1.txt", "s2.txt" and so on};
if(!empty($_GETї"show"])){
$show_this=$possible_showї$_GETї"show"]];
} else $show_this="default.txt";
?>
...
<div id="links">
<a href="something.php?show=1">Some1</a>
<a href="something.php?show=2">Some2</a>
...
<div>
<div id="show">
<?php include($show_this); ?>
</div>
Or something like that. The point is to read the value from $_GET array and then fetch the matching include. Note the arrays start from 0, which would be treated as empty.