hi all i'm having trouble with the this page. not sure if i'm approaching the problem the right way. i'm basically passing search criteria to a page. i'm using the search criteria to construct a sql query dynamically. i'm using the sql query in a while loop that cycles through the db and finds any matches. then i'm using fopen(), str_replace() etc. to dynamically generate an rtf document off the db. i'm basically pulling up essay questions for anyone who matches my sql query.
this page was modelled on an rtf generation page that created an individual page per a much simpler sql query/no while loop. i'd like to use the while loop to create one large rtf document that contains essays of anyone who matches the sql query. i'd like to have a pagebreak between each user's essays anyways, it's not working at the moment. i'm linking to this page, and the link won't let me dl the file i'm supposedly generating. i think my logic around the while loop is probably faulty, can anyone take a look? it's a long page, so i'm not going to copy the code into this email. you can click here to see the code http://pastebin.com/12264) any advice would be appreciated thanks again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php