PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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).
Lesson #1: PHP does not display anything and has no syntax for arranging elements on a web page. PHP can send HTML and CSS to a browser, but it is that HTML and CSS that determines what appears on the page.
ldougherty wrote:What is inside of PcitureList.php?
If you want to do it properly you should do so with either TABLES or DIVs
If you can post the content of PcitureList.php I can probably show you have to do it with either.
Thanks for the reply.
In the PcitureList.php, page there will be similar pictures (more than one) but related to the one picture I will be showing on the main page. This page will contain scroll bar and users will be able to scroll up and down to see the related pcitures on the same page. So I have to use PcitureList.php to include in the main page.