--- Labunski <[EMAIL PROTECTED]> wrote: > Why do this line $new_topic = $post_0.'|'.$post_1.'|'.'$post_2\n'; > writes to > the document > one|two|three\n
Actually, that's not true. Assuming: $post_0 = 'one'; $post_1 = 'two'; $post_2 = 'three'; The code you posted will store the following in $new_topic: one|two|$post_2\n While others were able to answer your question anyway (anything within single quotes is interpreted literally), this demonstrates how providing misinformation can make it very difficult for people to help you. As a courtesy to those who spend their time answering questions, please test your code. It really only takes a moment of your time. Thanks. :-) Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php