<html><head></head>
<frameset cols="30%,*">
<frame src="menu.php">
</frameset>
</html>
This is my index.php page. And the menu.php page lists a set of clients from mysql.
I want to create a hyperlink with the result of the mysql query. And when you click on the mysql, it should call content.php and display the contents in the second frame.
But so far, on clicking the hyperlink, it redirects the menu frame to the other php page.
Basically, I am trying to create a menu on the left hand frame and display contents of each listing on the right frame.
Don’t use frames. They’re a hideous throwback to the “old” days. It’s easy to replicate the few benefits frames provided with PHP includes (dynamic/constant sidebars/menus/content shared across multiple pages), without ANY of the long list of drawbacks that frames have.