Giter Site home page Giter Site logo

wysiwyg-php-mysql's Introduction

WYSIWYG-php-mysql

An little example of a POST WYSIWYG using PHP7, jQuery and MySQL

How to use

First of all, download the example on your computer

$ git clone https://github.com/mathmed/WYSIWYG-php-mysql.git

after downloaded, go to the path

/database/config.php

and set the credentials of your database. In the same folder, select the wysiwyg.sql file and import in your database.

Structure

On the /database path are located the configuration files for database connection. In the config.php file you can set your database credentials. The connection.php file is responsible for making the connection to the database as well as adding and deleting rows.

On the /files path are located the medias and connfiguration files. In the upload.php the file is uploaded to the destination folder and in del.php the file is deleted.

On the root are located the index.php, preview.php, view.php and main.js. The index.php redirects the user to the view.php file, where it is located the frontend aplication. The DOM control functions are located in the main.js file. The application control functions are located in the controller.php file.

Dependencies

The plugin Kartik file input is used in this project.

wysiwyg-php-mysql's People

Contributors

mathmed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.