Display two pages side by side in PHP
Posted: Sat May 16, 2009 2:22 pm
Greetings,
I am new to PHP programming.
I want to show two pages side by side on one php page. I have a picture that is retrieved from mysql database and shown on my page. At the same time, I want to show another page containing list of picture next to this picture on the same page. I tried to use include command as follows, but was not able to put the page next to a picture (on the same line but to the left).
Any help is appreciated.
Thanks,
Dilnesaw
I am new to PHP programming.
I want to show two pages side by side on one php page. I have a picture that is retrieved from mysql database and shown on my page. At the same time, I want to show another page containing list of picture next to this picture on the same page. I tried to use include command as follows, but was not able to put the page next to a picture (on the same line but to the left).
Any help is appreciated.
Thanks,
Dilnesaw
Code: Select all
<?php
$link = ***
$data1 = mysql_query("SELECT * FROM Table1 where ID='$id'");
while($info = mysql_fetch_array( $data1))
{
Print $info['Picture']. "<br></br>";
}
include("PcitureList.php");
?>