Raised This Month: $ Target: $400
 0% 

how to read and store only what I need


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Menethil
Senior Member
Join Date: Aug 2011
Old 01-13-2013 , 02:27   how to read and store only what I need
Reply With Quote #1

Suposing I have this txt file

Code:
* Sub-Title 1 *
- Text line 1
- Text line 2
- Text line 3
- etc.


* Sub-Title 2 *
- Text line x
- Text line y
- Text line z

* Sub-Title 3*
- and so on..
And I need to get & store only the line's from a Sub-Title...
Best example I can Give is if
PHP Code:
 (get_mapname(///) == Sub-Title X ) {
// to set a task wich random prints to clients some particular map rules
// and ofcourse the rulles will be that Text lines from each sub-title(map)

Ty -.-"
Menethil is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode