Click here to get back home

inclosed variable 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
inclosed variable heredoc hihibibihi 12-19-2006
Posted by hihibibihi on December 19, 2006, 5:06 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 Janwillem Borleffs on December 19, 2006, 5:25 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:43 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 hihibibihi on December 20, 2006, 4:22 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 Janwillem Borleffs on December 20, 2006, 4:54 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

Similar ThreadsPosted
count newlines in heredoc variable July 30, 2008, 2:21 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
Getting a function result while in heredoc December 19, 2006, 11:15 am
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
Writing to Heredoc from Text Area Form May 31, 2007, 10:45 am
What? Assigning a session variable also assigns the local variable? April 12, 2005, 3:12 am

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