Skip to content

Example database management script build on PHP

License

Notifications You must be signed in to change notification settings

Mirmuxsin/phpdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Management Script

This is example of a simple database management script that can be used to manage databases and tables.

todo

  • Add more queries (select, update, delete)
  • Security checks while inserting data

See example calls in app.php or use the available commands:

Available Commands

  • insert: Insert data into a table.
    php app.php insert {database} {table} {key1=value1,key2=value2,...}
  • checkTable: Check if a table exists.
    php app.php checkTable {database} {table}
  • createTable: Create a table.
    php app.php createTable {database} {table}
  • connect: Connect to a database.
      php app.php connect {database}
  • createDatabase: Create a database.
    php app.php createDatabase {database}

About

Example database management script build on PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages