awright...I'm stumped...
I have a script that opens a cursor to SQL 7, grabs the record guts, and puts them into a string var. I then open a file cursor with blah=fopen(file,w), fwrite(blah, string), fclose(blah). This is done once for each seperate category in an array (i.e., select each distinct manager name in the db into array, loop through array where manager = $arr[$i], at the end of each index create the file, and then start over with a unique file name.
Should work...BUT...the first file I create (all of the files are .html, BTW), something is adding HTML that isn't in my code. I left out the <head> section, and don't use CSS or metatags, but lo and behold, the first file (but none of the others) has a <head>, <title>(null)</title>Meta-Generator, doc-type, and even <hr>'s in the body IN THE MIDDLE OF MY CODE! Am I high, or is something weird happening?!?
Apache 1.3.19, PHP 4.0.1pl2 (or somewhere thereabouts), SQL 7, all on WINNT Server 4 SP 5.