Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 9 people (11%) answered Yes
Recently 1 of 9 people (11%) answered Yes

Entry

How do I get php to display first 6 characters on third line of a txt file, and nothing else?

Nov 28th, 2008 11:11
healthy man, Khurram Ijaz, Derek Taylor, http://www.renai-soft.com


echo substr(file($file_name)[2],0,6);
Khurram Ijaz,
http://www.renai-soft.com
http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com