Profile

Cover photo
Nikola Novakovic
Works at simplemachines
Attended Police academy
Lived in Belgrade
77 followers|39,144 views
AboutPostsPhotosVideos

Stream

Nikola Novakovic

Nexus 5 / 5X  - 
 
Hey guys!
I have a problem with Maps and battery. Even though location is turned off, and maps app is stipped it's still eating my battery. Last night it took about 50% of my battery. Any suggestions?
1
Add a comment...

Communities

13 communities
 
#php #phpdevelopment Hey there. I need a way to display information from a text file stored on server to html, but based on a specific line in the file itself. For example, I want to display content of line 5. Is that possible, and can someone suggest me how to do that? Thanks! :)
1
Chris Dempsey's profile photo
 
Will fgets do what you need? See example #2
http://www.w3schools.com/php/func_filesystem_fgets.asp

You could count the loops, grab the value of the fifth then exit and close the file.

Or can you use an XML file and use simpleXML to go straight to the value of the fifth element by name?
Add a comment...

Nikola Novakovic

Need Help (QnA)  - 
 
Hey there. I need a way to display information from a text file stored on server to html, but based on a specific line in the file itself. For example, I want to display content of line 5. Is that possible, and can someone suggest me how to do that? Thanks! :)
1
Jesus M. Castagnetto's profile photoNikola Novakovic's profile photoSeth Webster's profile photoCharles Torvalds (AskApache)'s profile photo
8 comments
 
$ sed -n '5p'
Add a comment...
Communities
13 communities
Work
Occupation
Programming, coding, chiling :)
Skills
Project Management, programming, html, php, css, planning
Employment
  • simplemachines
    2011 - present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Belgrade - Valjevo
Education
  • Police academy
    Cyber crime, 2014 - 2015
Basic Information
Gender
Male
Other names
Dzonny