Hi everyone, I am stuck and need some help ASAP cause this was supposed to be done like yesterday.
I am using inline frames on my site with no scroll, in the page that the inline frame applies to, it pulls the info from a database and I just want the info to fill the height of the inline frame and have a next button to display more within the inline frame.
I am stuck big time on this.
Here is what I am talking about - http://www.agnosticfront.com/newsite/index.php click on the bio link and you will see what I mean
the inline frame is here - http://www.agnosticfront.com/newsite/bio.php
all the sections including the bio section is being pulled from a database.
this is my bio.php code --
<body background="images/bio.gif">>
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p>
<p> </p>
<table width="425" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><font color="#FFFFFF" size="3"><?php
$connection = mysql_connect("localhost","user","password");
$db = mysql_select_db("database_name", $connection)
or die("Couldn't select database.");
$result2 = mysql_query("SELECT * FROM Biography")
or die("Failed.");
while($row = mysql_fetch_array($result2)) {
echo '<p>'. $row['Biography'];
}
?></font></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
and an example of what I am trying to get to is this - http://www.hatebreed.com
can anyone help me with this at all? I am severely desperate, been banging my head over this for the past 6 hours.
Thanks
Dave