By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,037 Members | 1,839 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,037 IT Pros & Developers. It's quick & easy.

check if the selected value contain a value and then change the value

P: 1
i'm new in the world of coding ^_^ , i need to know if there is any way i can keep the database listening if there is any operation contain (
Expand|Select|Wrap|Line Numbers
  1. SELECT * FROM `glpi_tickettemplates` 
  2. WHERE `id` = '-2'  
) and then change it with (
Expand|Select|Wrap|Line Numbers
  1.  SELECT * FROM `glpi_tickettemplates` 
  2. WHERE `id` = '1'  
)
thanks in advance
Feb 9 '13 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,366
I have no idea what you're asking.

Are you trying to intercept and modify SQL commands? There's no functionality for that, you will have to update your data.
Feb 10 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.