| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | need help quick!!! Im using this code i just made when some adds a site, it sends it to the php file and its saves it to a .txt file. perfect. Except i need it to put each new entry on a new line, but i dont know how, can anyone help? Code: <?php $input = $_POST["site"]; $fp = fopen( "sites.txt" , "a" ); fwrite( $fp, $input ); fclose( $fp ); echo "done, thanks for your contribution to our site!"; ?> |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BrowserStuff.com $16. Quick Sale! At GoDaddy. Expires March 24 2006. Need Money Quick | Humdizzy | Domains For Sale - Fixed Price | 4 | 04-25-2005 04:41 PM |
| FREE phpBB HOSTING INC: CASH / ARCADE / SHOP / QUICK REPLY / BANNER MOD + MORE! | PARABEATS | Web Hosting Offers | 0 | 01-22-2005 10:14 AM |