|
| |
|
|
striker269
Posts: 3 Joined: 8/5/2005 Status: offline
|
Question about writing to txt file? - 9/5/2005 23:57:31
I am using a text file as a database and want to be able to post to the beginning and because of the php tags I need to be able to write inside of them. The way it works now is using fwrite "a" and it writes to the end but after the ?> and i need it to be inside of the tag. Text File: <?php $productName[] = "Two Doves Wedding Cake Topper - New In Box"; $productDescription[] = "Just beautiful.... super packaging.... speedy shipping... thanks"; $productId[] = "11007"; $shipping[] = "1"; $buyer[] ="judyjonz"; $productName[] = "Valencia Wedding Cake Topper - New In Box"; $productDescription[] = "Lightning fast shipping, well packaged, highly recommend"; $productId[] = "12322"; $shipping[] = "1"; $buyer[] = "gpcinny"; ?> Any help is appreciated Thanks Chris
< Message edited by striker269 -- 9/6/2005 0:33:46 >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|