I need some basic php code (looks bit like a blog). With 2 pages: 1-html form and 2-page with divs
On the first page should be a form with :
- Title (textfield)
- Url (textfield)
- Color (dropdown menu)
- post + reset button
When filled in and posted, I want it to create a new div on the (2- page with divs) page.
The CSS would be like:
html, body { margin: 0; padding: 0; }
div { width: 20px; height:20px; float:left; }
a.linking { display:block; height:100%; width:100%; text-decoration:none; }
red { background-color: red; }
green { background-color: green; }
yellow { background-color: yellow; }
blue { background-color: blue; }
etc. with the colors.
So when posted,
Title should define the title=“whatwasfilledinatthetitlepart”
Url should define the href=“http://www.heretheurlifilledin.com/”
Color should define the class=“colorselected”
And when posted, it should create the div infront of the earlier divs.
Any one any ideas?
Even have some (small amount) gift on paypal for any one who can make me do this
Teejoow