$filename = "pages/news.php";
$fd = fopen($filename, "r") or die ("cannot read $filename");
$fstring = fread($fd, filesize($filename));
$line_array = explode("\n", $fstring);
ive got this code ! and i would like to place this into a text box, the html code for that file !!!
i would like to know how to do it !
<form type ='text' name='textbox' value=''>
thats the code for the text box ! and the variable name !
how do i put it into this text box !
i can display the data from the file by
echo($fstring);
but how do i get the text instead !
thanks for the help
simwiz 😉