![]() |
Attachment update
Hi to everyone reading this:
I wanted some help.. In my database i have a table "POST" column ATTACH for which the default value is "0" now i want to write a "IF" clause in a Plugin which will check if this Value is 0 or 1 and triggers a HOOK if the value is 1 can somebody help me with this...?? Any help will be immensly appreciated. |
Which hook location is your plugin using (or if you don't know yet, when do you want your code to run)?
Also, I'm not sure what you mean by "trigger a hook". |
i want my script or code to run when a user checks a Check Box which makes the value for the above mentioned colum by default is 0 and when this checkbox is ticked the value changes to 1 and then i want this code to run.
|
All times are GMT. The time now is 02:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|