Jump to content

Help with Iframes, php and next button!!


dellis203

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.