soma56 Posted July 16, 2010 Share Posted July 16, 2010 Let's assume I have a simple page with one div tag to style the text that comes in: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="../_css/styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="wrapper"> <!--POSSIBLE TO FWRITE HERE?--> </div> </body> </html> <!--FWRITE CURRENTLY APPENDS HERE--> I've been playing around with fwrite and have discovered that anything appended (or initially written for that matter) automatically appends to the bottom of a file - even after </html>. If I know it's possible then I'll try and figure it out. Link to comment https://forums.phpfreaks.com/topic/207983-is-it-possible-to-fwrite-append-between-a-div/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.