Page 1 of 1

basic posting script.

Posted: Sun Feb 19, 2006 7:30 pm
by tymlls05
I was wondering if there was anybody out there that could help me out with a very basic posting script.

To join all I require is a username and password and an email address, so a forgotten password can be emailed.

I need a basic form so people can post a classified. In the form all I need is:

-Name of person to contact
-Contact Information
-And a text area for the actual classified.

If you are willing to add a few things here and there to this, I'd appreciate it.

I don't need a template, just in basic text format so I can customize it to fit my page. Thanks.

Posted: Fri Feb 24, 2006 4:51 pm
by a94060
would this happen to work?


Code: Select all

<!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=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<div align="center">
  <p>(Form Name)</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <form id="form1" name="form1" method="post" action="">
    <label>
    <div align="center">Name of person to contact 
      <input type="text" name="textfield" />
    </div>
    </label>
    <p align="center">
      <label>Address
      <input type="text" name="textfield2" />
      </label>
</p>
    <p align="center">
      <label>
      Zip Code
      <input type="text" name="textfield3" />
      </label>
</p>
    <p align="center">
      <label>
      State
      <input type="text" name="textfield4" />
      </label>
</p>
    <p align="center">Classified
      <label>
      <textarea name="textarea" rows="3"></textarea>
      </label>
    </p>
    <p align="center">
      <label>
      <input type="submit" name="Submit" value="Submit" />
      </label>
      <label>
      <input name="Reset" type="reset" id="Reset" value="Reset" />
      </label>
</p>
    <p>&nbsp;</p>
  </form>
  <p>&nbsp;</p>
</div>
</body>
</html>
you just change the action to the script that will add it to the database or wherever else you want it to go. This should work. there is no table and the things are not alighned. also, it owuld be a good idea to pick up a html program like say...dreamweaver or front page,they really help (took me like 5 minutes to make)