
Hi,
I've seen people doing contact form that allow visitor to ask or made contact with site owner using a html form. My question is, how the information is capture at back end, after a visitor hit the enter key?
Do you store those info entered into a database like sql or text file?
Is it possible to store those info straight into a plain text file in a folder using only html.
My level in web design is at doing static page in html only (very basic stuff).
My contact forms are emailed directly to me.
Filter property of the current request and does various replacements within the HTML before it is sent to the client.All the work is done in the Write method which is overriding Write in the base class Stream.
The Write method is called multiple times for a single response - the HTML seems to be written to the output stream in chunks. My problem is that I don't have an efficient & reliable way of telling if the current chunk is the last chunk.
Just plain HTML can't write to a database, you'd need to have PHP & SQL queries run when they submit the message. HTML deals with front-end things, PHP does the backend stuff like MySQL.
HTML can't do anything besides dictate how your website looks. If you want information to be mailed to your email or written to a database or text file, you need to use a server side language like PHP.
May it appears to be HTML cause there's no refresh when users press Submit, it may occur when the form is sent using Ajax/jquery anyway, the js may call the php to send all values to mysql.
The HTML aspect of a contact form is for the input boxes and such, however, it'll also take some PHP coding to actually achieve the writing to a database. There's simple PHP code that can achieve such a thing within maybe 3 files, tops. There's guides all over the internet on how to do this properly. Have you checked out W3Schools? or perhaps HTMLGoodies?
HTML jst displays the contact form at the front end. You'll definitely nid PHP & MySql or any database u wish to store the informations. Or you can use a third-party contact form which sends everything entered to ur mail box.
Creativity Speaks. Excellency isn't optional but mandatory. Follow Me On Twitter Add Me On Facebook
This all happen with the help of coding in programming language and connectivity with database.
guys, this thread was started on " 11-10-2011, 03:44 AM " and yet you still reply to it? even tho, the OP has already got an answer...
Bookmarks