How to build a website with a database?
This has to be done slowly; first you have to learn to build a database, build a table, know simple sql statements (add, delete, check data); then you have to learn to build a website, commonly used jsp, php and ASP.NET; only after completing the first two items can you connect the database to the web page; the simplest is to register and log in; log in:two textboxes and a log in button. Get the values of the username textbox and the password (pwd) textbox in the click event of the button. Put the two values into a sql statement to query; if there is data showing that the username and password are correct, jump to the main page, otherwise the username or password is wrong.How to make a database on a web page ah, what things to learn ah?
Web program to use the database generally have three Access database for ASP/ASP.net program supporting, easy to learn, install Office software inside.
MySQL database is suitable for PHP program with, small and stable, the most popular foreign SQLServer database developed by Microsoft advanced database, the current commonly used 2000, 2005 and 2008 three versions, generally and ASP.net program supporting.What are the database requirements for website construction?
ASP website is generally used with sqlserver database or Access database, php is generally used with mysql database. The larger the site, the more data content, the larger the database capacity required.
Web design membership registration system database how to do?
First of all, create a database (Access, MSSQL or MYSQL can be), which establishes a User table, field ID, Username, Password, Regtime, etc.
Then, create the front registration page Userreg.html, form submission form, the simplest on the put a fill in the user name and password box, as well as a submit button, submit the event is reg.asp or reg.php or other dynamic script program
then, by the form submit the event to get (Request over) the web page to submit the information into the database (here to be familiar with a series of database operations, including database connection, database insertion, query, delete and so on some basic operations)
Then, create the front-end registration page Userreg.html, form submission form, the simplest is to fill in a user name and password box, as well as a submit button, submit the event is reg. delete and so on some basic operations)
Insert the database successfully, the last simple report a success message
Well, the simplest registration is to do so
How to add a database in the site?
Static web pages you want to add a database directly, a little difficult, if the site has not been done on the convenience of the site, you can try to use some development platforms, such as CMS or something, in accordance with its installation documents installed down, the database and other configurations on the good.
You just need to go to adjust the page display, as well as business logic is good, the background itself with, and you do not have to go back to the development of the site background and so on.
You can learn about the Empire's CMS open source, there is a one-click installation version, relatively simple. May have to learn the application of tags and HTML. still relatively simple.
How to create an ACCESS database for a website?
1. In the creation of the database, first of all, you need to install Microsoft OfficeAccess2007 (Microsoft OfficeAccess2003 is also available), this database program do not have to deliberately look for, in the installation of Office Office software, the default is encapsulated in the package together, check the box in which the one, the installation can be.
2. Installation of MicrosoftOfficeAccess2007 database program, run this program, enter the "MicrosoftOfficeAccess2007" new window, as shown:
3. According to their own needs to create the designated Database, the database program has a lot of templates to provide reference, templates to a certain extent to provide convenience, however, sometimes our database needs to be customized, so it is customary to select the "blank database", fill in the database path, and then click on "Create "button to create.
4. Here, it is necessary to say, in the creation of the database will be found before the "database creation interface" on the right side of the "folder open" icon, click on this icon, the pop-up "File New Database "window, select" Save Type "usually choose" Microsoft OfficeAccess2000-2003 database (*.mdb) "set the file name, click" OK "button. "OK" button to complete the creation.
5. Enter the Access database interface, there is a blank form, this form is the field table. You need to add the appropriate fields to add user data and other information. At this point, Access database has been created successfully.