|
Simple Form:
|
|
04-10-2007, 02:38 PM
Post: #1
|
|||
|
|||
|
Simple Form:
Hello, I've got the new dreamweaver cs3 and do a little bit of designing, (still learning) I need to make a form for my mums gymnastics business website. It would require name, surname, childs name, age of child, the class interested in
LOL this is sounding a bit more complicated than simple, well to me. So perhaps if someone could just give me a rough bit of coding that I could use for just the names for the moment, then I would try applying this to the others myself, I'm a quick learner. Cheers |
|||
|
04-10-2007, 03:35 PM
Post: #2
|
|||
|
|||
|
This is probably what you're after http://www.ibdhost.com/contact/
|
|||
|
04-10-2007, 03:43 PM
Post: #3
|
|||
|
|||
|
Uhh, what is up with the design of that website! I would personally suggest something like http://www.dagondesign.com/articles/secu...er-script/
|
|||
|
04-10-2007, 03:53 PM
Post: #4
|
|||
|
|||
|
Plus if you want to know something about how these things work. First you have a form designed in xhtml markup with css styling applied, which submits to a php script for validation of the data. When the user clicks submit the current best option is to validate all the fields you can with clientside javascript and possibly also validate any other fields with ajax. Then print the result either on the next page or in a new element if you are using ajax (But you have to make a standard page as well as a fallback if the user doesn't have javascript on so it is good for usabilty).
Code: <fieldset>The form will look something like that, then the php will contain things such as Quote:Get input variables and santaize them for cross site scripting or escape codes With ajax added you want something like this: Code: // holds an instance of XMLHttpRequestWhich would be polling the script ajax.php every 10 seconds once something has been inputted for errors. the php code would send back a xml response to the javascript in this instance. Although things are actually moving towards JSON instead of xml responses so.... |
|||
|
05-10-2007, 10:56 AM
Post: #5
|
|||
|
|||
|
This is great stuff, thank you very much, didn't expect such a good response as it's probably such a simple question to you lot!
I was considering buying the "php for dummies" book! Or would that just be a waste of money? |
|||
|
05-10-2007, 11:03 AM
Post: #6
|
|||
|
|||
|
As far as i know the "for dummies" range of boooks are considered to be very good, i personally would think it would be a waste of money, although on the other hand all the information will be out there on the net if you are willing to search for it.
So its all personal preference really
![]() The Clan http://www.h2hclan.net The Dumping Ground http://www.cadetgfx.co.uk
|
|||
|
05-10-2007, 11:15 AM
Post: #7
|
|||
|
|||
|
I got this book when I first started looking at PHP/mySQL
http://www.sitepoint.com/books/phpmysql1/ And have to say it was very nice and straight forward. - Techmonkey ================ Enterprise Business IT Support | SME IT Support | Home Support Available |
|||
|
05-10-2007, 11:18 AM
Post: #8
|
|||
|
|||
|
My problem is that when I read tutorials on the screen and flick between the two it gets a bit annoying after a while, whereas I think if I hada book I can keep the right screen up while reading the book if this all makes sense!!!
I might one day, when I can afford my alienware computer, I'll have two big 23' screens side by side, one witha tutorial and one with dreamweaver. Then again, if I had this computer I'd have football manager on one screen and the sims 2 on the other LOL!!!! |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help





![[Image: riona-VICKY.png]](http://img.photobucket.com/albums/v289/spidrocks/riona-VICKY.png)


![[Image: 5f2kg5.gif]](http://i35.tinypic.com/5f2kg5.gif)