Re: Original problem?

From: Date: Sat, 30 Dec 2000 05:05:23 +0000
Subject: Re: Original problem?
Groups: php.general 
Request: Send a blank email to php-general+get-32402@lists.php.net to get a copy of this message
You should include all stuff that needs to be parsed by the interpreter in double quotes. single quotes ignore all the stuff. --- Hooligan <Hooligan@goplay.com> wrote: > > How do i get this little tag to work? > > i want the $brev to be a dynamic file just like > page.php?brev=cheese > > And then it should load > > /home/widegren/public_html/veckobrev/cheese > > This below dont work, any suggestions? > > > > $fcontents = $fcontents = file > ('/home/widegren/public_html/veckobrev/ > $brev'); > while (list ($line_num, $line) = each ($fcontents)) > { > echo "" . htmlspecialchars ($line) . "<br>\n"; > } > > > > > /Peter > +--------------------------------------------------------------------------+ > | The coolest site for free home pages, email, chat, > e-cards, movie info.. | > | http://www.goplay.com - it's time to > Go Play! | > +--------------------------------------------------------------------------+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== To Find Out More About Me : http://mukul.tsx.org/ __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/

« previous php.general (#32402) next »