...How do you do a php script that writes to a file the current file plus some more text.
Basically:
(Join (testing.txt) and (hello world)
^Scratch block form
Offline
I don't know how too write to a file but I know how to right to a database. It would be something like this.
Open database.
Search/ query database for name (Lets just say you saved stuff to it and had a name column) and get value
$oldvalue = Query value
$newvalue = $_Post[newvalue]
$oldvalue <-- $oldvalue & $newvalue
Query database to find row number.
Insert new value at the row.
My site Offline
@AnimeCreatorArtist: What????
what-the wrote:
I don't know how too write to a file but I know how to right to a database. It would be something like this.
Open database.
Search/ query database for name (Lets just say you saved stuff to it and had a name column) and get value
$oldvalue = Query value
$newvalue = $_Post[newvalue]
$oldvalue <-- $oldvalue & $newvalue
Query database to find row number.
Insert new value at the row.
So it'd be like this:
(in PHP writing to a file clears all the text then writes)(pic from panther)
So if test.txt was originally "I like" then it would be "I like cheese"?
Offline