free
know that you can access free from your mobile to the great social network Facebook?
Well in fact you can do it, you enter the site: 0.facebook.com or zero.facebook.com .
This service until the date of writing this post, it works. In the area on El Salvador working for the operators Digicel and Claro.
Friday, March 4, 2011
Thank You Words For Engagement Words
Trigger mysql - php
The trigger or triggers are objects that are used in the database only, are executed before or after certain actions: insert, delete or update.
There are certain rules that we must not forget:
Example of a trigger:
OLD and NEW: used to refer to the contents of the variable depending on its condition, the sample is the value again ... (maybe because it says New?).
To run a trigger from php, you can not, so if you can do is run a stored procedure and :
mysqli_query $ run = ("mi_procedimiento ($ parameter1, $ parameter2));
Example stored procedure:
More information:
I hope I have helped a little, any correction is welcome characteristics can see trigger and stored procedures here or find i nformation official: dev. mysql.com
The trigger or triggers are objects that are used in the database only, are executed before or after certain actions: insert, delete or update.
There are certain rules that we must not forget:
- The trigger works fine (until now) just for a table.
- The trigger does not work for views or temporary tables.
- The trigger does not work when executing cascade; do update on TableA and this in turn update on TableB ago TableB use a trigger if this is not self-executing.
- All trigger must be removed before upgrading mysql version (at least version 5 to 5.0).
- can not make two corresponding trigger and instruction at the same time, you can not have insert after twice to the same table.
Example of a trigger:
mysql> CREATE TABLE my_table (variable INT, amount DECIMAL (10,2)); mysql> CREATE TRIGGER name: trigger BEFORE INSERT ON my_table
-> FOR EACH ROW SET @ var = @ var + NEW.var2;
OLD and NEW: used to refer to the contents of the variable depending on its condition, the sample is the value again ... (maybe because it says New?).
To run a trigger from php, you can not, so if you can do is run a stored procedure and :
mysqli_query $ run = ("mi_procedimiento ($ parameter1, $ parameter2));
Example stored procedure:
mi_procedimiento CREATE PROCEDURE (IN parameter1 INTEGER)
BEGIN
DECLARE var1 CHAR(10);
IF parametro1 = 17 THEN
SET var1 = 'birds';
ELSE
SET var1 = 'beasts';
END IF;
INSERT INTO table1 VALUES (var1);
END
More information:
I hope I have helped a little, any correction is welcome characteristics can see trigger and stored procedures here or find i nformation official: dev. mysql.com
Tuesday, March 1, 2011
Drinking And Ativan How Long Do U Have To Wait
As you can see Android
cinismoilustrado
This type is large, there are so many things that can mean only one picture and he does, barbaro @ sallesino .
Source: cinismoilustrado
How To Get Color On Tv With Gamecube
the glass could be a new windows. Number of downloads
was reading that Android is the new Windows in the future, if there, in my humble opinion that it is a FAIL, Why? easy: they have nothing to do, android is a charm (... to the cartoons as), has nothing to do with the monster of Readmon, the fact, personally, do not refer to similar technical, "because if so, is a real mistake, but rather is the android's popularity is taking on the world of mobile devices.
The mere fact that Mr. Google will is bet on android from the beginning means that from that moment would be a big boost q / support did very well, Google, in the system be adapted for a guy for his phone. In addition, the main feature has to be an android Open system helps greatly to have an advantageous development of its competence, even the windows mobile system, since in the world are thousands of developers, and entrepreneurs are encouraged to make applications for cellphones, not only in fashion but because it is a new area which will, according to me-more demanding and thus more opportunities.
Congratulations, if the mobile future could be in hand as they android personal well!
I hope I have hidden a little of my appreciation for android, # only.
was reading that Android is the new Windows in the future, if there, in my humble opinion that it is a FAIL, Why? easy: they have nothing to do, android is a charm (... to the cartoons as), has nothing to do with the monster of Readmon, the fact, personally, do not refer to similar technical, "because if so, is a real mistake, but rather is the android's popularity is taking on the world of mobile devices.
The mere fact that Mr. Google will is bet on android from the beginning means that from that moment would be a big boost q / support did very well, Google, in the system be adapted for a guy for his phone. In addition, the main feature has to be an android Open system helps greatly to have an advantageous development of its competence, even the windows mobile system, since in the world are thousands of developers, and entrepreneurs are encouraged to make applications for cellphones, not only in fashion but because it is a new area which will, according to me-more demanding and thus more opportunities.
Congratulations, if the mobile future could be in hand as they android personal well!
I hope I have hidden a little of my appreciation for android, # only.
Subscribe to:
Posts (Atom)