hello hopefully some one can help me , heres my problem :
i have a log.txt file with hundreds of entrys in this format:
[2004.12.08 06:41:22] 559ac31823202393c181f6672796bce6 "DANNY" "65.22.33.22" home
i am trying to build a search form so when i search for a portion of this log file for example say the name "DANNY" it searches the log finds the data and ECHO'S just that one complete text line .
i would like it to ECHO the textline in an array .
so i can have each array in a different colum in a table .
So end reslut would be :
I type in Danny in a search form and hit the submit button
it searches the log finds the line and prints in a table in array form like this:
<table width="200" border="1">
<tr>
<td>2004.12.08 06:41:22</td>
<td>559ac31823202393c181f6672796bce6</td>
<td>DANNY</td>
<td>65.22.33.22</td>
<td>home</td>
</tr>
</table>
i can open the log read the file and i can build the array but i cant get the information to properly populate my table .
im sure you can tell im new ,but i have been working on this one part for about a week so you can not say the efforts not there ,lol.
Well i hope one you can help me .
Thank you in advance
Kurt fury .