Jump to content


Display select statement results in a scrolling window within html template

  • Please log in to reply
3 replies to this topic

#1 ger_mac74

  • Members
  • PipPip
  • Member
  • 24 posts

Posted 08 March 2006 - 02:44 PM

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.


#2 ger_mac74

  • Members
  • PipPip
  • Member
  • 24 posts

Posted 08 March 2006 - 05:53 PM

Hi again,
Does anyone have an idea how I might do this?

#3 ger_mac74

  • Members
  • PipPip
  • Member
  • 24 posts

Posted 09 March 2006 - 03:20 PM

Any takers on this one?? Please!

#4 psyion

  • Members
  • PipPip
  • Member
  • 13 posts
  • LocationKota Kinabalu, Sabah, Malaysia.

Posted 09 March 2006 - 10:04 PM

<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...,scrollbars=yes')">click this link</a></p>
<p>try downloading dreamweaver 8, it'll help. </p>

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users