Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

want to add text

Links for php scripts

Moderators: macek, egami, gesf

want to add text

Postby reimar » Fri Jul 04, 2003 11:43 pm

Hello,

I have the following problem: Therer is a site with text (e.g. a site to post news). With a form I want to add additional news (it all works). But the form deletes the file first before it writes the new news in it.

Is there a special command for adding text to another text (at the top of it)?
reimar
New php-forum User
New php-forum User
 
Posts: 4
Joined: Thu Jul 03, 2003 7:26 am

Postby liquedus » Sat Jul 05, 2003 5:47 am

fopen with append instead of write to the file.

hope that helps. :)
liquedus
php-forum Active User
php-forum Active User
 
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.