8000 GitHub - alva-v/sql-remove-html: Copy database column in a new one with HTML tags removed
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alva-v/sql-remove-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-remove-html

Copy a database column to a new one with HTML tags removed. Currently only works with SQLite databases.

Usage

  • composer install
  • Copy .env.sample to .env
  • Fill the .env variables as follow :
    • SRH_DATABASE : Path to your database
    • SRH_TABLE : Name of the table containing the column to copy
    • SRH_ORIGINAL_COL : The column countaining the HTML formatted text to copy
    • SRH_COPY_COL : The name of the column to be created in which the HTML free version of the previous column will be copied
  • php sql-remove-html
  • ????
  • PROFIT!!!

About

Copy database column in a new one with HTML tags removed

Topics

Resources

Stars

Watchers

Forks

Languages

0