PHP Include
How would one turn the following code:
<iframe src="/fusionpoll/polls.php?poll=7&temp=main1" marginheight="0" marginwidth="0" width="142" height="240" frameborder="0"></iframe>
Into a regular PHP include?
Thanks a bunch.
Login |
PHP IncludePHP IncludeCurrently viewing this thread: 1 (0 members and 1 guests) PHP Include How would one turn the following code: <iframe src="/fusionpoll/polls.php?poll=7&temp=main1" marginheight="0" marginwidth="0" width="142" height="240" frameborder="0"></iframe> Into a regular PHP include? Thanks a bunch. You can't. In PHP, you are unable to include query strings. ___________________ Travis Farrell Hmm, okay. Well on my website, http://jordanmeeter.com, I have a column on the right, with the ID 'rclmn'. Here is the code that makes up the right column: <div id="rclmn"> And here is my CSS for 'rclmn': #rclmn { What would I add to make that stinkin' iframe centered, using CSS? Why don't you just make up a header, footer, and index file, and just include it all into the index file? ___________________ - Moderator at the official AMX Mod X forums Wait, I got it. I just took away the <p> tags... You can still turn that into an include... ob_start(); i THINK that's how it would be done... but instead of directly appending the GET var, i think it would be a lot better to learn basic PHP and re-code your site in a way where this is not needed. ___________________ Could I use:
? That would work if the vars you're using inside polls.php are $poll and $temp, otherwise no. ___________________ |
Copyright ©1999-2008 Neverside. All rights reserved.
Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach
NeverAPI generated this page in 0.0082 seconds.