Delete table from MySQL database with HTML form and PHP

Posted by Shek on May 16, 2008 under PHP | Be the First to Comment

Editor’s note: To delete a table from the MySQL database is easy, all you have to do is to run a query to get it done. But in a content management system, you might like to build an user interface for the user to delete a table. Again a HTML form is a good idea for this. Here I have created an example to show how to delete table from MySQL database with HTML form and PHP.
Read more of this article »

Delete records from MySQL database with HTML form and PHP

Posted by Shek on May 15, 2008 under PHP | Read the First Comment

Editor’s note: In some cases such as a company’s login system for example, the login names and passwords are stored in the MySQL database. But if a staff leaves the company and so his account has to be removed from the database. Therefore it is good to design a HTML form for the administrator to remove the record from the database. And here is the example.

Read more of this article »

Display data from MySQL database with HTML form and PHP

Posted by Shek on under PHP | Be the First to Comment

Editor’s note: When you have all the data stored in the MySQL database, and you want to display just some particular data. In order to do so, a HTML form for them to input is a great idea. Here I have created an example to show you how to do this task.

Read more of this article »

Update a MySQL database field data with HTML form and PHP

Posted by Shek on May 13, 2008 under PHP | Read the First Comment

Editor’s note: In some events, you might like to change or update a field’s data. You can do it by running a query to update the field in the MySQL database’s table. But for some users who do not know much about the programming language, it is good idea to create a HTML form for them to update the data, and here I have created an example:

Read more of this article »

Insert values into MySQL database with HTML form and PHP

Posted by Shek on May 12, 2008 under PHP | 2 Comments to Read

Editor’s note: In my past projects, especially those for company use, many of them involved with a login system and have the user name and password stored in a MySQL database. Sometime for administrators, there is a need for them to add more users when there is a new stuff for example, and therefore it is good to design an interface for them to insert the values into the MySQL database.

Read more of this article »

HTML form element – Text field and Submit button

Posted by Shek on May 1, 2008 under HTML | Be the First to Comment

HTML form element – text field, as its name says, it is for inputting texts, examples like name, age or password.

Read more of this article »

Page 2 of 212