Jump to content

Archived

This topic is now archived and is closed to further replies.

fd9

Integrating a php script into my site

Recommended Posts

I have a php script that I would like to integrate into my website, specifically using iframe. My problem is that I need to be able to use some of the variables that were used in the script. I'm under the impression that if I use an iframe, I won't be able to access those variables declared within the embedded iframe script, correct? I would like to be able to do this so that I can easily integrate the script onto my page, and then concentrate on the content on my page without having to worry about extra code from the script.

Any suggestions? What do you think I should I do? I'm don't know PHP very well, and I’m open to anything right now.

Share this post


Link to post
Share on other sites
<?php

include("pagename.php");

?>

Then you can use the varibles from your php file

Share this post


Link to post
Share on other sites
Might also consider using a div. That way any variables would be easily available.

Should you need tables for formatting any data,, they can be used in the div.

Lite...

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.