> So I'm writing this page (PHP Newbie here) and it checks to see if a var > is set, if it isn't it spits out the form info like so: echo "<form > action="myform.php" method="post">"; > Now is there a way to 'wrap' that so I don't have to escape quotes? > Something like perls 'qq' function is what I'm looking for. > I tried a few different functions from the website, magic_quotes, > addslashes, htmlspecial etc etc but none did what I was looking for > > Jeremy Pavleck > Network Engineer - Systems Management > IT Networks and Infrastructure > > Direct Line: 612-977-5881 > Toll Free: 1-888-CAPELLA ext. 5881 > Fax: 612-977-5053 > E-mail: jeremy.pavleck@xxxxxxxxxxx > > Capella University > 225 South 6th Street, 9th Floor > Minneapolis, MN 55402 > > www.capella.edu I believe you can just use single qiote for this example of yours. echo '<form action="myform.php" method="post">'; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php