Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: on plugin activation, create table in db

Euuh ok, still not sure how to use this.

Let’s say I want to ad a tabel in the db called ‘test’, but only if it doesn’t excist.

So on plugin activation:

1- check if the table ‘test’ excists

2- if not, insert the tabel ‘test’

3- else die

Skip to toolbar