Forums
-
- Forum
- Posts
-
- Installation
- 26,476
- Troubleshooting
- 56,863
- Themes
- 9,876
- Plugins
- 14,469
- Requests & Feedback
- 14,167
- Showcase
- 3,222
-
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