Click here to get back home

Getting a function result while in heredoc

 HomeNewsGroups | Search

comp.lang.php - PHP programming language discussions 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Getting a function result while in heredoc bill 12-19-2006
Posted by bill on December 19, 2006, 11:15 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Benjamin on December 19, 2006, 10:33 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Rik on December 19, 2006, 10:40 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Toby Inkster on December 20, 2006, 2:38 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Rik on December 20, 2006, 3:10 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Similar ThreadsPosted
MySql and PHP mysql_fetch_array($result) - function September 13, 2004, 3:58 am
mySQL result to real array in function April 25, 2006, 2:07 pm
question about HEREDOC March 15, 2005, 11:46 am
using heredoc for SQL statements January 16, 2006, 7:27 pm
constants in heredoc December 29, 2008, 12:12 pm
inclosed variable heredoc December 19, 2006, 5:06 pm
HEREDOC help, going quietly nuts October 20, 2007, 11:44 am
heredoc and array problems July 17, 2008, 2:05 pm
question about heredoc strings August 1, 2008, 12:03 pm
count newlines in heredoc variable July 30, 2008, 2:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy