What's Here?
- Members: 300,470
- Replies: 826,104
- Topics: 137,472
- Snippets: 4,420
- Tutorials: 1,148
- Total Online: 1,742
- Members: 84
- Guests: 1,658
|
How to read from a .txt file, and how the infomation should be stored.
|
Submitted By: RichardSA
|
|
|
Rating:
|
|
Views: 10,988 |
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
|
|
|
|