What's Here?
- Members: 107,400
- Replies: 408,816
- Topics: 62,094
- Snippets: 2,250
- Tutorials: 600
- Total Online: 1,158
- Members: 51
- Guests: 1,107
Who's Online?
|
Welcome to Dream.In.Code |
|
|
Getting PHP Help is Easy!
Join 107,400 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 1,158 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!
|
How to read from a .txt file, and how the infomation should be stored.
|
Submitted By: RichardSA
|
|
Rating:
|
|
Views: 8,611 |
Language: PHP
|
|
Last Modified: March 4, 2005 |
Instructions: This will read from the set .txt file in this context:
[Picture 1]
id=1
name="Test Number one!"
This will make id = $data['id']. |
Snippet
<?php
// Easy, but usefull.
foreach($downloads as $name => $data)
{
}
?>
Copy & Paste
|
|
|
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month
|