You are here: How to echo content of a file? « PHP Language « IT news, forums, messages
How to echo content of a file?

Posted by <talthen.z-serwera.o2 on 11/13/76 11:25

Hello,
I have a file that looks like this:
=========
<td valign='top'>Data</td>
<td><input type='text' name='Data' value="$_REQUEST['Data']" size='50'>
</td>
=========
I would like to include this in my script, but I want the $_REQUEST to be
automatically filled.
When I do:
include 'file';
I have this printed to output AS-IS.

I would like to treat file as string for echo (smth like:)
$x=include 'file';
echo $x;
However it doesn't work.

Regards,
Talthen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация