macromedia.dynamic.html
[Top] [All Lists]

Re: Want to start out right with PHP

Subject: Re: Want to start out right with PHP
From: "Ken Nielsen" <webforumsuser@xxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 17:01:37 +0000 (UTC)
Newsgroups: macromedia.dynamic.html

First, I want to apologize for being 'over the top' from frustration. 
Yesterday, I was ready to go down to the store and buy a carton of Camel 
'straights' and a 2-liter bottle of Wild Turkey and never look at another 
computer again. I did not do that of course, and now I am back with a question 
about what a testing server is. I think I know what it is, but I want to put it 
into my own words and see if I have it straight.

 But before that, here is the code for the php document:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml";>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <title>Contact Form</title>
 <link href="contact.css" rel="stylesheet" type="text/css" />
 <style type="text/css">
 <!--
 .style1 {font-family: "Times New Roman", Times, serif}
 -->
 </style>
 </head>

 <body>


 <div class="outer_wrapper">

 <h3 class="style1">Contact Studio 10 Web Graphics</h3>
 <p>&nbsp;</p>
 <p>We bring results to our customers. Let us create something special for you. 
There's no charge for an initial consultation. </p>
 <p>&nbsp;</p>
 <p>Tell us about your project:</p>
 <p>&nbsp;</p>
 <form id="form1" name="form1" method="post" action="">
   <p>
     <label for="name">Name:</label>
     <input name="name" type="text" id="name" size="60" />
   </p>
   <p>
     <label for="email">Email:</label>
     <input name="email" type="text" id="email" size="60" />
   </p>
   <p>
     <label for="comments">Comments:</label>
     <textarea name="comments" id="comments" cols="60"></textarea>
   </p>
   <p>&nbsp;</p>
   <p>
     <input type="submit" name="send" id="send" value="Send comments" />
   </p>
 </form>

 </div>

 <pre>
 <?php if ($_POST) {print_r($_POST);} ?>
 </pre>

 </body>
 </html>




<Prev in Thread] Current Thread [Next in Thread>