iframe display problem

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!

Moderator: General Moderators

Post Reply
BHarris
Forum Newbie
Posts: 7
Joined: Thu Jun 09, 2005 3:46 pm
Location: West Virginia
Contact:

iframe display problem

Post by BHarris »

I am using a frame (iframe) to display data that is pulled from a (mysql)database. The data is simply names, first and last, that is then displayed in a table in an an iframe. For some reason, however,when the number of rows of data to be displayed is greater than or equal to thirty (30), the page remains blank and does not display the data at all (no limit has been set on the number of rows to display either, and even if I allow for time to pass, it does not display anything). Has anyone ever encountered such a problem and if so, how can I resolve this problem? If not, I will accept any suggestions that may be used to by pass that problem.

Thanks
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

How about some code?
BHarris
Forum Newbie
Posts: 7
Joined: Thu Jun 09, 2005 3:46 pm
Location: West Virginia
Contact:

Post by BHarris »

This is the basic code used to print out the data, where "$str" holds all the data that is to be displayed. The data is then passed over to another page where it is displayed in a table. If you have any ideas, just let me know.

Note: This is really "html" and "javascript" with the php in the middle but I did not want to just leave this out so that it shows up on the page.

Code: Select all

<div id="body">
<iframe src= 
<?php
	print($str);
?>

 id="bodyFrame" onload="resizeFrame();">
</iframe>

<div id="footer">
</div>
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Post by wwwapu »

I see you are passing your data in iframes src attribute. You might want to take look at these:
http://www.phpbuilder.com/board/showthr ... URL+length
http://support.microsoft.com/default.as ... us;q208427
And searching this forum or serch engine of your taste with "uri length" will come up with more information.

Sometimes size does matter...
Post Reply