Thread: PHP Help Needed
View Single Post
Old 10-10-2006   #3 (permalink)
Krazy3
Registered User
 
Join Date: Oct 2006
Posts: 22

I found the solution, thanks. I just use the following code and put the html in the txt file.

<div id="ddblueblockmenu">

<?php

$file = "links/test.txt";
$data = file($file) or die("could not read file!!!");

foreach ($data as $line) {
echo $line;
}

?>
</div>
__________________
I like smilies... what?
Krazy3 is offline