Hi Just enclose it in <?php ?>
You can do this in either templates or html pages If you want it to work you can either save as .php, include it in a php script or set your server to parse htm pages with php. HTH Peter ----------------------------------------------- Excellence in internet and open source software ----------------------------------------------- Sunmaia www.sunmaia.net [EMAIL PROTECTED] tel. 0121-242-1473 ----------------------------------------------- > -----Original Message----- > From: its me [mailto:[EMAIL PROTECTED]] > Sent: 06 July 2002 06:32 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] template problem!!! > > > i have asimple problem: > can i put php code in the site template??-i'm using dreamweaver. > and if yes will i save it as php or as .dwt?? > thanks guys > > > Rehab M.Shouman > > ------------------------------------------------------------ > ------------------------------------------------------------ > > > --------------------------------------------------------------------- > Express yourself with a super cool email address from BigMailBox.com. > Hundreds of choices. It's free! > http://www.bigmailbox.com > --------------------------------------------------------------------- > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php