Skip to main content

Study and demonstrate mysqli connection and CRUID operations with php.

Concept Used In This Practical :-


PHP Data Objects (PDO) extension is a Database Abstraction Layer. It is like an interface for the 
back-end to interact with the MySQL database and make changes without making any change 
in the PHP code. It also gives you the freedom to work with multiple databases. The major advantage
of using PDO is that your code stays simple and portable. how to connect MySQL Database 
on different servers .
  1. Connect MySQL using Localhost Server
  2. Connect MySQL using Cloudways Server
  3. Connect MySQL using PDO
  4. Connect MySQL using Remote MySQL

File Structure for CRUID Operation :-

      Step 1 : Create a database.
      Step 2 : Create a database connection file.
      Step 3 : Insert a record in database. 
      Step 4 : Read record from the database.
      Step 5 : Update record in the database.
      Step 6 : Delete a record from the database.

Screenshots:



Comments

Popular posts from this blog

18CE131

Welcome to my blog!!! Here you can view the practicals of web technology! Blog created and edited by- Soham Upadeo