pj655040999@gmail.com

Moodle Development Blocks

Blocks A Step-by-step Guide To Creating Blocks Original Author: Jon Papaioannou (pj@moodle.org) Updated to Moodle 2.0 and above by: Greg J Preece (greg.preece@blackboard.com) Moodle 2.0 The present document serves as a guide to developers who want to create their own blocks for use in Moodle. It applies to the 2.0 development version of Moodle (and

Moodle Development Blocks Leer más »

Código de PHP

Código de PHP – Subir un fichero a un servidor mediante FTP http://www.lawebdelprogramador.com/codigo/PHP/1844-Subir-un-fichero-a-un-servidor-mediante-FTP.html strtotime — Parse about any English textual datetime description into a Unix timestamp strtotime — Parse about any English textual datetime description into a Unix timestamp http://php.net/manual/en/function.strtotime.php (PHP 4, PHP 5, PHP 7) Description ¶ int strtotime ( string $time [, int

Código de PHP Leer más »

MySQL Stored Procedure

DELIMITER $$ CREATE PROCEDURE mysql_update_field() BEGIN DECLARE x INT; DECLARE number INT; DECLARE contador INT; SET x = 1; SET number=1; select count(*) into contador from mdl_user; REPEAT IF exists(select * from mdl_user where id=number) THEN UPDATE mdl_user SET idnumber=username; END IF; SET  x = x + 1; SET number =number+1; SET contador=contador+1; UNTIL x 

MySQL Stored Procedure Leer más »