[PHP] Re: File download results question
I figured it out... strip_tags() function did the trick . Joe Joe Van Meer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there. I have a small php app that allows a user to download a txt file that's created 'on the fly' from a database. Everything is working great except for the actual results displayed on the file...it get results similar to the code below...it's insertng br tags (and square characters) all over the place. Could someone tell me the name of the function that removes this? Thx Joe :) Delete from databaseBRphpBR//connect to db br / $connectionToDB = odbc_connect(codesnipits, joecode, joecode); br / br / -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: File download results question
[EMAIL PROTECTED] (Joe Van Meer) wrote: I figured it out... strip_tags() function did the trick . use strip_tags with caution because it removes some valid text ex: something something will be something after using strip_tags on the text. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: File download results question
Is there another way to do this...I'd like to be able to display html code on my php pages (code examples) Thx Joe Henrik Hansen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [EMAIL PROTECTED] (Joe Van Meer) wrote: I figured it out... strip_tags() function did the trick . use strip_tags with caution because it removes some valid text ex: something something will be something after using strip_tags on the text. -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: File download results question
[EMAIL PROTECTED] (Joe Van Meer) wrote: Is there another way to do this...I'd like to be able to display html code on my php pages (code examples) cant you use str_replace() or something? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]