Posted in June 10, 2009 ¬ 12:25 pmh.
Toltecatl
Estuve peleando como pendejo contra el puto encoding de html en Internet Explorer, por que resulta que la mamada esa no sabe interpretar el meta tag <meta http-equiv=”Content-Type” content=”text/html; charset=utf8″ /> y fué un verdadero pedo encontrar la sintáxis adecuada de htmlentities() para que funcionara bien, después de mucho interpretar el manual, dejo a su [...]
Read the rest of this entry »
Posted in June 5, 2009 ¬ 12:00 pmh.
Toltecatl
Function to create dinamically a valid INSERT INTO SQL instruction, using an array as any parameter and iterating over him to extract the name and values to use it as field names and field values. This function uses pg_send_prepare and pg_send_execute php built-in functions and shows in a detail how to use them.
Read the rest of this entry »
Posted in May 14, 2009 ¬ 5:41 pmh.
Toltecatl
Ya tenía rato sin postear y qué mejor que retomar el posting en el blog con la siguiente noticia, que para mi es importante: En este preciso momento se está haciendo la demostración del software que he estado programando desde Octubre pasado, estoy muy nervioso, se que funcionará bien, pero no todo está terminado, como [...]
Read the rest of this entry »
Posted in April 22, 2009 ¬ 4:28 pmh.
Toltecatl
He estado pensando acerca de unas cuantas cosas que he hecho en PHP con CodeIgniter, me dí cuenta que sí en una función de PHP recibes 1 solo parametro entre controladores y modelos te ahorras unos cuantos teclazos…. Ejemplo de caso habitual de paso de parametros entre controlador y modelo: ****Controlador***** <?php if (! defined(‘BASEPATH’) [...]
Read the rest of this entry »
c0de
arreglos asociativos, CI, Code Igniter, CodeIgniter, código, funcionas, informática, MVC, PHP, Programación, tamper data, trucos