Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

MySQL User Library

I created this library to make building user profiles easier with PHP and MySQL.

How to start:

First, you need to install Medoo framework using composer into your local (or global directory). Look up how to do that.

Basic table setup.

<?php// These variables must be set before requiring UserLibrary.php for the library to work.$databasename = "DataBase"; $ipaddress = "192.168.1.1"; $username = "User"; $password = "password"; $usertablename = "tablename"; // Require file.require"UserLibrary.php";
// This always needs to run to ensure that a table exists.CreateUserDataTable();
// This adds a new column to the table;addUserTableColumn("messages", "text", "NOT NULL");
?>

You now have a table with columns for a username, password, and messages that you can reference later!

About

A short library to make creating user profiles in MySQL easy.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages