Forums
-
- Forum
- Posts
-
- Installation
- 28,027
- Troubleshooting
- 61,256
- Themes
- 10,269
- Plugins
- 15,090
- Requests & Feedback
- 14,724
- Showcase
- 3,245
-
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
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS