|
Posted by Terry on October 9, 2007, 11:17 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text
> <?php
> include('http://www.your.domain/next_page.php?foo=bar');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by dkruger on October 9, 2007, 5:04 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text
> <?php
> include('http://www.your.domain/next_page.php?foo=bar');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by dkruger on October 9, 2007, 5:09 pm
Please log in for more thread options Kimmo Laine wrote:
show/hide quoted text
> <?php
> include('http://www.your.domain/next_page.php?foo=bar');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by Jerry Stuckle on October 9, 2007, 10:49 pm
Please log in for more thread options Kimmo Laine wrote:
show/hide quoted text
> <?php
> include('http://www.your.domain/next_page.php?foo=bar');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
| Similar Threads | Posted | | same mysql query doesn't always return a result | September 9, 2005, 9:04 am |
| displaying the result of a COUNT query in MySQL | December 19, 2005, 10:29 am |
| question about processing MySQL query result | June 22, 2006, 1:55 am |
| Double query form, result of 1st query drops anything after a space | October 23, 2004, 4:27 pm |
| Assign the result of $db->query($query) to a variable ??? | March 1, 2010, 11:06 am |
| Assign the result of $db->query($query) to a variable ??? | March 1, 2010, 11:07 am |
| Can you use the result from one query as a criteria in a second query? | September 20, 2004, 11:58 am |
| Newbie: How to display query result in table? | July 6, 2006, 12:36 am |
| newbie question: linked result from a query | August 31, 2006, 8:02 pm |
| Naming a php variable using the result of a database query | November 26, 2008, 5:05 pm |
|
> include('http://www.your.domain/next_page.php?foo=bar');