|
striker269 -> 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
|
|
|
|