Mamoun Posted June 16, 2005 Share Posted June 16, 2005 HiiHow can I make a simple form in dreamweaver mx 2004 that has name and e-mail text fields and submit button that save the form data in a file in the server? Link to comment Share on other sites More sharing options...
dman Posted June 16, 2005 Share Posted June 16, 2005 (edited) Hi Mamoun,Making the form is easy, it is processing the return that is a challenge. What are you using? ASP, ASP.NET, PHP, CGI, ColdFusion? You also need some kind of database to store the values, so you need to choose a DB as well. MySQL is the hot DB now, but there are many other choices. If you don't know the answer to these questions you should start with a HTML form processing tut like this...PHP Form Processing Tutorial Edited June 16, 2005 by dman Link to comment Share on other sites More sharing options...
Mamoun Posted June 16, 2005 Author Share Posted June 16, 2005 Thanks for the tutorial Link to comment Share on other sites More sharing options...
Mamoun Posted June 23, 2005 Author Share Posted June 23, 2005 (edited) What are you using? ASP, ASP.NET, PHP, CGI, ColdFusion? <{POST_SNAPBACK}>phpYou also need some kind of database to store the values, so you need to choose a DB as well. MySQL is the hot DB now, but there are many other choices<{POST_SNAPBACK}>my free host site doesn't support MySQL, but how to make a database in DW?PHP Form Processing Tutorial<{POST_SNAPBACK}>I saw this tutorial, but I need to know how to make the data saved to a cgi file or php one, and not e-mail the results.and thanks for your respone dman. Edited June 23, 2005 by Mamoun Link to comment Share on other sites More sharing options...
dman Posted June 23, 2005 Share Posted June 23, 2005 Mamoun,You cannot "make" a database in DW. You are only using DW as an editor for PHP. PHP is used to get data in and out of a database and process the input or results, but it is not where you store your data. If you want to do this you will need a host that offers some type of database support (MySQL, PostgreSQL, SQL Server, etc). What host site are you using? Link to comment Share on other sites More sharing options...
Mamoun Posted June 24, 2005 Author Share Posted June 24, 2005 (edited) If you want to do this you will need a host that offers some type of database support (MySQL, PostgreSQL, SQL Server, etc). What host site are you using?<{POST_SNAPBACK}>www.95mb.com Edited June 24, 2005 by Mamoun Link to comment Share on other sites More sharing options...
dman Posted June 24, 2005 Share Posted June 24, 2005 (edited) Your free host does not have db support. If you want to learn you should download XAMPPit is Apache web server, PHP and MtSQL db. It is very simple to install, just unzip and run! you can run this on your computer until you learn how to work with PHP/MySQL, then find a new host that has db support.EDIT: apparently you do not have PHP either...http://webmastercool.com/forum/index.php?showtopic=1750 Edited June 24, 2005 by dman Link to comment Share on other sites More sharing options...
Mamoun Posted June 24, 2005 Author Share Posted June 24, 2005 Your free host does not have db support. If you want to learn you should download XAMPPit is Apache web server, PHP and MtSQL db. It is very simple to install, just unzip and run! you can run this on your computer until you learn how to work with PHP/MySQL, then find a new host that has db support.EDIT: apparently you do not have PHP either...http://webmastercool.com/forum/index.php?showtopic=1750<{POST_SNAPBACK}>thanks for the info, I changed my host to another one http://www.100webspace.com/I will try XAMPP and tell you the resultsthanks again for being patient to a newbie like me Link to comment Share on other sites More sharing options...
dman Posted June 24, 2005 Share Posted June 24, 2005 >>thanks for the info, I changed my host to another one http://www.100webspace.com/100webspace looks much more complete than 95mb. That is what you need >>I will try XAMPP and tell you the resultsYes, let me know how you do with xampp. It is pretty easy to use. Just put the folder with your html/php files in a folder under "htdocs" (ex. c:\xampp\htdocs\mamoun\mypage.php). Start apache and mysql with control panel. Then in browser go to "http://localhost/mamoun/mypage.php" to see served page. You really need to read the docs and google to learn MySQL.>>thanks again for being patient to a newbie like me biggrin.gifno problem, we all need some help getting started. I am driving my accountant crazy with questions about quickbooks, yuck. not to get all touchy-feely, but it is a shame that the rest of the world can't get along as well as people on MSFN Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now