|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
display single value from a logfile?
I would like to display the number of posts for each member of my YABB (bulletin board) in a page outside the YABB. The value is on the 7th line of the dat file (txt format).
I would like to display that value in a separate page. How is this done? I know this is likely basic...newbie. :uhoh: thanks |
|
#2
|
|||
|
|||
|
RE: display single value from a logfile?
hmm..
$stuff = file("txt.dat"); print("{$stuff[7]}"); |
|
#3
|
|||
|
|||
|
RE: display single value from a logfile?
You may want to use trim() with that.
Just a thought. |
|
#4
|
|||
|
|||
|
RE: display single value from a logfile?
Whoa.....slow down....that is way to much code for me to digest.
thanks, exactly what I needed. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > display single value from a logfile? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|