Jump to content


This topic is now archived and is closed to further replies.


Display select statement results in a scrolling window within html template

Recommended Posts

Hi I am new enough to php.

I have designed a website and want to have certain ahref links on this website activate php programs. This is what I would like the php programs to do:

When the link is clicked the php program is actived.
I would like this php program to load up a certain html template webpage that I have designed and within this template I would like to have a scrolling window that displays the results of a select statement. Each php program and therefore each ahref link will run a different select statement, the statements results will be viewed inside the same scrolling window which will be inside the same website template. Any ideas on how I might do this? I understand that I 'include' the html page at the start of each of these php programs but I dont know how to tell this php program where in the html template the scrolling window will be displayed and also I dont know how to get the select script to run in the scrolling window. Also I dont know if there is a way to view this select statements in scrolling windows. Hope you can help.


Share this post

Link to post
Share on other sites

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0

<p><a href="#" onClick="MM_openBrWindow('http://www.phpfreaks.com/forums/index.php?showtopic=87846','','scrollbars=yes')">click this link</a></p>
<p>try downloading dreamweaver 8, it'll help. </p>

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.