Click here to get back home

Newbie: How to loop through lines in a file?

 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
Newbie: How to loop through lines in a file? deko 12-15-2004
Posted by deko on December 15, 2004, 3:25 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 Scott Orsburn on December 15, 2004, 1:14 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 Default User on December 15, 2004, 7:34 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 gg on December 15, 2004, 10:05 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 Scott Orsburn on December 16, 2004, 9:51 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
Skip lines in txt-file October 11, 2004, 11:54 am
Using File() with blank lines June 4, 2005, 2:21 pm
Read first 10 lines from a file August 19, 2005, 12:50 pm
edit lines in txt file April 24, 2007, 8:54 pm
remove comment lines from .txt file December 9, 2008, 12:05 pm
reading multi-lines in a file... March 25, 2006, 4:41 am
How to count lines in a file that meet criteria? July 14, 2004, 9:24 pm
file download three blank lines at start July 3, 2005, 4:21 pm
Remove trailing blank lines at the end of a file March 30, 2009, 9:51 am
PHP Flat File Database - How to Load and Edit Lines? January 26, 2005, 1:45 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