vomitbomb Posted May 14, 2008 Share Posted May 14, 2008 I've got a php document that works fine but I've tried to put it in a frame so it can run next to the main order page, php doesn't seem to like frames and it just spits out all the code in the frame. How do I run php in a frame? Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/ Share on other sites More sharing options...
blueman378 Posted May 14, 2008 Share Posted May 14, 2008 why are you isng a frame why not inmclude the code you wish to use? Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/#findComment-540699 Share on other sites More sharing options...
vomitbomb Posted May 14, 2008 Author Share Posted May 14, 2008 Because it's going to be a list of names and I want to be able to scroll through them on the left side of the screen, could get pretty long. Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/#findComment-540701 Share on other sites More sharing options...
Orionsbelter Posted May 14, 2008 Share Posted May 14, 2008 post the code for your frame set Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/#findComment-540707 Share on other sites More sharing options...
blueman378 Posted May 14, 2008 Share Posted May 14, 2008 so make a div with a set height and width, and set overflow to auto and then load the script data into that, same effect as an iframe without the problems Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/#findComment-540710 Share on other sites More sharing options...
vomitbomb Posted May 14, 2008 Author Share Posted May 14, 2008 Cool thanks I'll do that, never used divs before only tables :-\, so I'll go about learning that, looks cool. Link to comment https://forums.phpfreaks.com/topic/105551-solved-why-wont-php-work-inside-a-frame/#findComment-540713 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.