<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="twafeedcreator 0.91" -->
<rss version="0.91">
	 <channel>
		 <title>codeando.net</title>
		 <description></description>
		 <link>http://codeando.net/</link>
		 <lastBuildDate>2012-09-20T16:32:44+1:00</lastBuildDate>
		 <generator>twafeedcreator 0.91</generator>
		 <managingEditor>Varios</managingEditor>
		 <item>
			 <title>BestWebFonts</title>
			 <link>http://codeando.net/2012/09/20/bestwebfonts/</link>
			 <description>&lt;p&gt;&lt;br /&gt;
	Hoy os recomendamos una excelente herramienta que nos facilitar&amp;aacute; la tarea de escoger tipograf&amp;iacute;as o fuentes para nuestros proyectos web: &lt;a href=\&quot;http://www.bestwebfonts.com/\&quot;&gt;BestWebFonts&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://www.bestwebfonts.com/\&quot;&gt;&lt;img alt=\&quot;BestWebFonts\&quot; src=\&quot;/userfiles/bestwebfonts.jpg\&quot; style=\&quot;width: 520px; height: 342px; \&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	Aqu&amp;iacute; podremos navegar por las mejores tipograf&amp;iacute;as de Google Fonts, adem&amp;aacute;s de visualizarlas y descargar el c&amp;oacute;digo necesario para utilizarlas.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	Una excelente idea y una herramienta realmente &amp;uacute;til.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://www.bestwebfonts.com/\&quot;&gt;http://www.bestwebfonts.com/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
</description>
			 <author>Jose</author>
			 <pubDate>2012-09-20T16:31:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Freetile.js: Crea muros estilo Pinterest de una forma r�pida y sencilla</title>
			 <link>http://codeando.net/2012/09/13/freetilejs-crea-muros-estilo-pinterest-de-una-forma-rapida-y-sencilla/</link>
			 <description>&lt;p&gt;&lt;br /&gt;
	Hoy presentamos otro plugin jQuery que nos permitir&amp;aacute; crear dise&amp;ntilde;os al m&amp;aacute;s puro estilo Pinterest, con apenas unas pocas l&amp;iacute;neas de c&amp;oacute;digo: &lt;a href=\&quot;http://yconst.com/web/freetile/\&quot;&gt;Freetile.js&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://yconst.com/web/freetile/\&quot;&gt;&lt;img alt=\&quot;\&quot; src=\&quot;/userfiles/freetile.jpg\&quot; style=\&quot;width: 520px; height: 382px; \&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://yconst.com/web/freetile/\&quot;&gt;http://yconst.com/web/freetile/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
</description>
			 <author>Jose</author>
			 <pubDate>2012-09-13T09:40:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Avgrund Modal: un plugin jQuery para popups diferente</title>
			 <link>http://codeando.net/2012/09/04/avgrund-modal-un-plugin-jquery-para-popups-diferente/</link>
			 <description>&lt;p&gt;&lt;br /&gt;
	Os presento un plugin jQuery para generar di&amp;aacute;logos o popups con unos interesantes efectos:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://labs.voronianski.com/jquery.avgrund.js/\&quot;&gt;&lt;img alt=\&quot;\&quot; src=\&quot;/userfiles/avground.jpg\&quot; style=\&quot;width: 520px; height: 362px; \&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://labs.voronianski.com/jquery.avgrund.js/\&quot;&gt;http://labs.voronianski.com/jquery.avgrund.js/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
</description>
			 <author>Jose</author>
			 <pubDate>2012-09-04T18:15:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Todo sobre jQuery: Plugins, Tutoriales y Recursos</title>
			 <link>http://codeando.net/2010/10/15/todo-sobre-jquery-plugins-tutoriales-y-recursos/</link>
			 <description>&lt;p&gt;&lt;br /&gt;
	Una excelente recopilaci&amp;oacute;n de plugins, tutoriales y t&amp;eacute;cnicas de jQuery:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://www.noupe.com/jquery/all-about-jquery-plugins-tutorials-and-resources.html\&quot;&gt;&lt;img alt=\&quot;All About jQuery: Plugins, Tutorials and Resources\&quot; src=\&quot;/userfiles/jqueryplugins27.jpg\&quot; style=\&quot;width: 520px; height: 323px; \&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://www.noupe.com/jquery/all-about-jquery-plugins-tutorials-and-resources.html\&quot;&gt;http://www.noupe.com/jquery/all-about-jquery-plugins-tutorials-and-resources.html&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
</description>
			 <author>Jose</author>
			 <pubDate>2010-10-15T16:44:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Ultimate CSS Gradient Generator</title>
			 <link>http://codeando.net/2010/10/11/ultimate-css-gradient-generator/</link>
			 <description>&lt;p&gt;&lt;br /&gt;
	Desde ColorZilla nos traen &lt;a href=\&quot;http://www.colorzilla.com/gradient-editor/\&quot;&gt;un estupendo generador de gradientes CSS(3)&lt;/a&gt;:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	&lt;a href=\&quot;http://www.colorzilla.com/gradient-editor/\&quot;&gt;&lt;img alt=\&quot;\&quot; src=\&quot;/userfiles/ultimate-css-gradient-generator.jpg\&quot; style=\&quot;width: 600px; height: 294px; \&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
	Disfrutadlo&lt;/p&gt;&lt;br /&gt;
</description>
			 <author>Jose</author>
			 <pubDate>2010-10-11T13:22:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Formulario de login desplegable con jQuery y CSS</title>
			 <link>http://codeando.net/2009/02/03/formulario-de-login-desplegable-con-jquery-y-css/</link>
			 <description>&lt;p&gt;Hola de nuevo, esta vez hemos estado m&amp;aacute;s tiempo del que habr&amp;iacute;amos querido sin actualizar, pero aqu&amp;iacute; estamos de nuevo. Hoy vamos a explicar c&amp;oacute;mo hemos implementado el nuevo formulario de login (y de registro) que pod&amp;eacute;is ver si pulsais sobre el enlace que deber&amp;iacute;ais ver en la parte derecha de la cabecera y que est&amp;aacute; basado en el que pod&amp;eacute;is encontrar &lt;a target=\&quot;_blank\&quot; href=\&quot;http://nettuts.com/javascript-ajax/build-a-top-panel-with-jquery/\&quot;&gt;en este estupendo post de NETTUTS&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Bueno, para empezar crearemos la estructura HTML:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;html4strict\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/div.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;wrapper&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
    &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/div.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;panel&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
        &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/div.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;panel_contents&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
        &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
    &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
    &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/div.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;show_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;#&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Login&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
    &lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/div.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;hide_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;#&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Esconder&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Como pod&amp;eacute;is ver, el c&amp;oacute;digo HTML es totalmente limpio, ni siquiera los enlaces llaman a funciones javascript (esto lo arreglamos luego gracias a las virtudes de jQuery). El contenido del panel ir&amp;aacute;, como ya habreis supuesto, en #panel_contents; en codeando.net hemos decidido incluir dos formularios, el de login y el de registro, pero cada uno puede colocar lo que desee.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;El siguiente paso, ser&amp;aacute; definir los estilos b&amp;aacute;sicos (visibilidad, tama&amp;ntilde;o y posicionamiento):&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;css\&quot;&gt;&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#wrapper&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;text-align&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;center&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#toppanel&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;absolute&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;top&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;134px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;612px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;z-index&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;25&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;text-align&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;center&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin-left&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;auto&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin-right&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;auto&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#panel&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;612px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;relative&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;top&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;height&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;400px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin-left&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;auto&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin-right&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;auto&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;height&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;0px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;z-index&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;10&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;overflow&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;hidden&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;text-align&lt;/span&gt;: &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#panel_contents&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;height&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;100&lt;/span&gt;%&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;616px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;absolute&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;z-index&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;-1&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#show_button&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;relative&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;top&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;30px&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;460px&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#hide_button&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;relative&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;font-size&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;90&lt;/span&gt;%&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;font-weight&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;bold&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;z-index&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;26&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin-top&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;36px&lt;/span&gt;;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Por supuesto, el aspecto y el posicionamiento final depender&amp;aacute; de vuestras necesidades de dise&amp;ntilde;o; este ejemplo est&amp;aacute; basado en la implementaci&amp;oacute;n que hemos hecho en codeando.net.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Y por &amp;uacute;ltimo el c&amp;oacute;digo javascript que har&amp;aacute; que funcione nuestro panel desplegable:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;javascript\&quot;&gt;&lt;br /&gt;
&amp;lt;script type=&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;!--&lt;br /&gt;
	$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;document&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;ready&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
		$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#show_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;click&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#show_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;toggle&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
			$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#panel&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;animate&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				height: &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;460px&amp;quot;&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;, &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;fast&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;swing&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#hide_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;toggle&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#hide_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;click&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#hide_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;toggle&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
			$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#panel&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;animate&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				height: &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;0px&amp;quot;&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;, &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;fast&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;swing&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;div#show_button&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;toggle&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
--&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Y con esto ya deber&amp;iacute;amos tener nuestro panel funcionando, todo comentario ser&amp;aacute; bien recibido. En otra entrega veremos c&amp;oacute;mo implementar un sistema de registro de usuarios con activaci&amp;oacute;n por email.&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2009-02-03T15:50:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Abstracci�n de bases de datos (II)</title>
			 <link>http://codeando.net/2008/12/17/abstraccion-de-bases-de-datos-(ii)/</link>
			 <description>&lt;p&gt;En la segunda entrega de esta serie, vamos a implementar m&amp;eacute;todos para la extracci&amp;oacute;n y manipulaci&amp;oacute;n de datos. Comenzaremos con las funciones de acceso a datos, que ser&amp;aacute;n las siguientes:&lt;/p&gt;&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;getrow()&lt;/b&gt; nos devuelve un array con todos los campos de un registro determinado.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;getassoc()&lt;/b&gt; como &lt;b&gt;getrow()&lt;/b&gt; pero los &amp;iacute;ndices del array son una cadena con el nombre del campo.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;getarrayassoc()&lt;/b&gt; nos devuelve un array multidimensional que contiene un rango de registros, cada uno de los cuales con todos sus campos en un array asociativo.&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; getrow&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt; = &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numfields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;get&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; getassoc&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt; = &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numfields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'fields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'name\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;get&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; getarrayassoc&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$start&lt;/span&gt; = &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$end&lt;/span&gt; = &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$end&lt;/span&gt; == &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$end&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numrows\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;=&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$start&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;&amp;lt;=&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$end&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;getassoc&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Con estas funciones ya tenemos solucionados nuestros requerimientos de acceso a datos, ahora vamos con las funciones que nos permitir&amp;aacute;n manipularlos:&lt;/p&gt;&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;insert()&lt;/b&gt; nos facilitar&amp;aacute; la tarea de insertar nuevos datos en una tabla.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;Con &lt;b&gt;update()&lt;/b&gt; podremos modificar registros.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;delete()&lt;/b&gt; ser&amp;aacute; la funci&amp;oacute;n que utilizaremos para eliminar registros.&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; insert&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$values&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; !== &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;!&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$values&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'INSERT INTO \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' VALUES ( &amp;quot;\'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/implode\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;implode&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;, &amp;quot;\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot; )\'&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;else&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'INSERT INTO \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' ( &amp;quot;\'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/implode\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;implode&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;, &amp;quot;\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot; )\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' VALUES ( &amp;quot;\'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/implode\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;implode&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;, &amp;quot;\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$values&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot; )\'&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; update&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$values&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$where&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'1=1\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; !== &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'UPDATE \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' SET \'&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tot&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/count\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;count&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tot&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt; &amp;gt; &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\', \'&lt;/span&gt;;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$fields&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'=\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$values&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;\'&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$where&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; delete&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$where&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'1=1\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; !== &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'DELETE FROM \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$table&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' \'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$where&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$qry&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Gracias a estas funciones, nuestra clase comienza a ser operativa y ya podemos empezar a usarla en nuestros proyectos (de momento, s&amp;oacute;lo contra bases de datos MySQL; en las siguientes entregas, entre otras cosas, veremos lo sencillo que resulta a&amp;ntilde;adir otros motores de bases de datos)&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Hoy, para terminar, vamos a mostrar alg&amp;uacute;n ejemplo de uso de nuestra nueva clase:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;require&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'dblib.php\'&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# Nos conectamos al servidor &amp;quot;host&amp;quot;, con el usuario &amp;quot;usuario&amp;quot; y password &amp;quot;password&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# y seleccionamos la base de datos &amp;quot;base_de_datos&amp;quot;. El cuarto par&amp;aacute;metro de la&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# cadena de conexi&amp;oacute;n le dice a la clase que debe realizar la conexi&amp;oacute;n con el servidor&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# en el momento de ser creada.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;new&lt;/span&gt; MyDBLayer&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'base_de_datos\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'host@usuario@password@true\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# Lanzamos un query sobre la base de datos y recibimos los datos en un array.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'SELECT * FROM coches\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numrows\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$coches&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;getarrayassoc&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;# Generamos una tabla con los datos recogidos en el query.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&amp;lt;table&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;thead&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;tr&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctf&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctf&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numfields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctf&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;th&amp;gt;&amp;amp;lt;{$db-&amp;gt;queries[\'main\'][\'fields\'][$ctf][\'name\']}&amp;amp;gt;&amp;lt;/th&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;/tr&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;/thead&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;tbody&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numrows\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;tr&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;foreach&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$coches&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ctr&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;as&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$key&lt;/span&gt; =&amp;gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$val&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;td&amp;gt;$val&amp;lt;/td&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;/tr&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\t&lt;/span&gt;&amp;lt;/tbody&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt; .= &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&amp;lt;/table&amp;gt;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;a href=\&quot;http://www.php.net/echo\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$out&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Este c&amp;oacute;digo podr&amp;iacute;a servirnos para generar una tabla como la siguiente:&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;table width=\&quot;200\&quot; cellspacing=\&quot;1\&quot; cellpadding=\&quot;1\&quot; border=\&quot;1\&quot;&gt;&lt;br /&gt;
    &lt;thead&gt;&lt;br /&gt;
        &lt;tr&gt;&lt;br /&gt;
            &lt;th&gt;&amp;lt;id&amp;gt;&lt;/th&gt;&lt;br /&gt;
            &lt;th&gt;&amp;lt;marca&amp;gt;&lt;/th&gt;&lt;br /&gt;
            &lt;th&gt;&amp;lt;modelo&amp;gt;&lt;/th&gt;&lt;br /&gt;
            &lt;th&gt;&amp;lt;color&amp;gt;&lt;/th&gt;&lt;br /&gt;
        &lt;/tr&gt;&lt;br /&gt;
    &lt;/thead&gt;&lt;br /&gt;
    &lt;tbody&gt;&lt;br /&gt;
        &lt;tr&gt;&lt;br /&gt;
            &lt;td&gt;1&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Ford&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Mondeo&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Negro&lt;/td&gt;&lt;br /&gt;
        &lt;/tr&gt;&lt;br /&gt;
        &lt;tr&gt;&lt;br /&gt;
            &lt;td&gt;2&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Renault&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Megane&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Rojo&lt;/td&gt;&lt;br /&gt;
        &lt;/tr&gt;&lt;br /&gt;
        &lt;tr&gt;&lt;br /&gt;
            &lt;td&gt;3&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Citroen&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;C4&lt;/td&gt;&lt;br /&gt;
            &lt;td&gt;Gris&lt;/td&gt;&lt;br /&gt;
        &lt;/tr&gt;&lt;br /&gt;
    &lt;/tbody&gt;&lt;br /&gt;
&lt;/table&gt;&lt;br /&gt;
&lt;p&gt;Nos vemos en la siguiente entrega.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://codeando.net/examples/abstraccion-de-bases-de-datos-(ii)/dblib.php.src\&quot;&gt;Descargar el c&amp;oacute;digo fuente.&lt;/a&gt;&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-12-17T15:58:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Abstracci�n de bases de datos (I)</title>
			 <link>http://codeando.net/2008/11/26/abstraccion-de-bases-de-datos-(i)/</link>
			 <description>&lt;p&gt;Hola de nuevo, hoy vamos a comenzar una clase de art&amp;iacute;culos en los que crearemos una librer&amp;iacute;a de abstracci&amp;oacute;n de bases de datos &amp;iquest;que qu&amp;eacute; es eso? pues vamos a verlo.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;De entrada, una capa de abstracci&amp;oacute;n de bases de datos, nos permitir&amp;aacute; cambiar el motor de la base de datos, de forma f&amp;aacute;cil y sencilla, de forma que la aplicaci&amp;oacute;n contin&amp;uacute;e funcionando de forma normal y sin efectuar ning&amp;uacute;n cambio en ella. Esto significa, que tambi&amp;eacute;n podremos desarrollar aplicaciones que trabajen contra cualquier motor de bases de datos, sin cambiar nuestra sintaxis ni las funciones a utilizar.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Adem&amp;aacute;s, podemos implementar m&amp;eacute;todos para realizar selects, inserts, updates y deletes, entre otros, con lo que nuestro c&amp;oacute;digo podr&amp;iacute;a quedar limpio de sentencias SQL (personalmente, es una pr&amp;aacute;ctica que prefiero no usar; a m&amp;iacute; me es muy &amp;uacute;til leer mis sentencias SQL de forma literal, pero para gustos... colores)&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Bueno, pong&amp;aacute;monos manos a la obra, lo primero que debemos hacer es crear la clase y establecer una conexi&amp;oacute;n con la base de datos:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;class&lt;/span&gt; MyDBLayer &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'\'&lt;/span&gt;;				&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Base de datos.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'localhost\'&lt;/span&gt;;	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Servidor.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$user&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'user\'&lt;/span&gt;;			&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Usuario.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$password&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'password\'&lt;/span&gt;;	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Password.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$handler&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;null&lt;/span&gt;;			&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Handler de la conexi&amp;oacute;n.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$engine&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'mysql\'&lt;/span&gt;;		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Motor de base de datos.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$autoconnect&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Indica si debemos autoconectar al crear el objeto.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$connected&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Indica si estamos conectados.&lt;/span&gt;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;private&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$queries&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Contiene los queries ejecutados.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; __construct&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$user&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$password&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$connect&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$engine&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'mysql\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Inicializamos variables&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;db&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;host&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/strpos\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;strpos&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;,&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'@\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; !== &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/explode\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;explode&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'@\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;host&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;user&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/count\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;count&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &amp;gt; &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;2&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;password&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;2&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/count\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;count&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &amp;gt; &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;3&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autoconnect&lt;/span&gt; = &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/in_array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;in_array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$tmp&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;4&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;,&lt;a href=\&quot;http://www.php.net/array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'yes\'&lt;/span&gt;,&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'true\'&lt;/span&gt;,&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'1\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; ? &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;true&lt;/span&gt; : &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;else&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/is_array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;is_array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;host&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;user&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;password&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;2&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/count\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;count&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &amp;gt; &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;3&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autoconnect&lt;/span&gt; = &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/in_array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;in_array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$host&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;4&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;,&lt;a href=\&quot;http://www.php.net/array\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'yes\'&lt;/span&gt;,&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'true\'&lt;/span&gt;,&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'1\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; ? &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;true&lt;/span&gt; : &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;else&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;user&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$user&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;password&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$password&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autoconnect&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$connect&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$engine&lt;/span&gt; != &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'mysql\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;engine&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$engine&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autoconnect&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;	&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Si debemos conectar al inicio lo hacemos...&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;connect&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; connect&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;engine&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'mysql\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;handler&lt;/span&gt; = @&lt;a href=\&quot;http://www.php.net/mysql_connect\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_connect&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;host&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;user&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;password&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;handler&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;!&lt;a href=\&quot;http://www.php.net/mysql_select_db\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_select_db&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;db&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;handler&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;errors&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'Error de selecci&amp;oacute;n de base de datos: \'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/mysql_error\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_error&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;connected&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;true&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;true&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;else&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;errors&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'Error de conexi&amp;oacute;n con el servidor: \'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/mysql_error\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_error&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Bien, como vereis, el constructor lo hemos montado de forma que sea capaz de recibir los par&amp;aacute;metros de distintas formas: le podemos pasar los par&amp;aacute;metros de forma tradicional o podemos agrupar los par&amp;aacute;metros de conexi&amp;oacute;n en el par&amp;aacute;metro $host, ya sea como una cadena con el caracter &amp;quot;@&amp;quot; como separador (ej: host@usuario@password[@autoconectar[@motor]]) o como un array num&amp;eacute;rico, mantiendo el mismo orden de par&amp;aacute;metros (host, usuario, password, autoconectar y motor) y una vez ha establecido las propiedades base de la clase, es capaz de realizar la conexi&amp;oacute;n llamando a la funci&amp;oacute;n &amp;quot;connect&amp;quot;, si se lo especificamos, claro.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;En la funci&amp;oacute;n &amp;quot;connect&amp;quot;, realizamos la conexi&amp;oacute;n al servidor y seleccionamos la base de datos, comprobando el motor seleccionado, lo que nos da la posibilidad de extender nuestra clase para que sea capaz de trabajar sobre cualquier motor, ya sea mysql, postgre, mssql, odbc, etc...&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Y para acabar con la primera entrega de esta serie, vamos a darle un poco de funcionalidad a la clase, implementando los m&amp;eacute;todos necesarios para extraer datos:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; query&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$sql&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;!&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;connected&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;		&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Comprobamos si estamos conectados, si no lo hacemos.&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;connect&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;connected&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;engine&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'mysql\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Realizamos el query y almacenamos el resultado en el array &amp;quot;queries&amp;quot;&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'query\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$sql&lt;/span&gt;;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_query\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'query\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;db&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; || &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;SendError&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;// Si el query ha tenido &amp;eacute;xito, extraemos informaci&amp;oacute;n del resultado.&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;//&lt;/span&gt;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'recno\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/substr\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;substr&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;a href=\&quot;http://www.php.net/strtoupper\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;strtoupper&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/trim\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;trim&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'query\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;6&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;SELECT&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; || &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/substr\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;substr&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;a href=\&quot;http://www.php.net/strtoupper\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;strtoupper&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/trim\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;trim&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'query\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;7&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;EXPLAIN&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; || &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/substr\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;substr&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;a href=\&quot;http://www.php.net/strtoupper\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;strtoupper&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;a href=\&quot;http://www.php.net/trim\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;trim&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'query\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;, &lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;4&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;SHOW&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
					&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numfields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_num_fields\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_num_fields&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
					&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numrows\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;   = &lt;a href=\&quot;http://www.php.net/mysql_num_rows\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_num_rows&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
					&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;for&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;=&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&amp;lt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'numfields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;++&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
						&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'fields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'name\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_field_name\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_field_name&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;result&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
						&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'fields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'type\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_field_type\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_field_type&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;result&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
						&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'fields\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'size\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_field_len\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_field_len&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;result&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$ct&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
					&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
				&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
			&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$index&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;public&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;function&lt;/span&gt; get&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$col&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'main\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;false&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;engine&lt;/span&gt; == &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;mysql&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
		&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_result\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_result&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;queries&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$query&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'result\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$col&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
	&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;return&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$return&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Como se puede observar, el m&amp;eacute;todo &amp;quot;query&amp;quot; realiza una consulta sobre la base de datos y la almacena en un array con un &amp;iacute;ndice definido por nosotros, o usando uno por defecto. Adem&amp;aacute;s, si la consulta debe devolver resultados (es decir, no es un UPDATE ni un INSERT) extrae y almacena informaci&amp;oacute;n sobre el resultado, como n&amp;uacute;mero de registros o n&amp;uacute;mero de campos, as&amp;iacute; como el nombre, tipo y tama&amp;ntilde;o de los mismos.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;El m&amp;eacute;todo &amp;quot;get&amp;quot;, s&amp;iacute;mplemente extrae y devuelve un valor del resultado de cualquiera de las consultas realizadas o &lt;b&gt;false&lt;/b&gt; si hay alg&amp;uacute;n error.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Y aqu&amp;iacute; terminamos la entrega de hoy, en las siguientes iremos implementando nuevos m&amp;eacute;todos de acceso a datos y agregaremos nuevos motores de bases de datos a nuestra clase.&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-11-26T17:57:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Mi m�vil me cae mal</title>
			 <link>http://codeando.net/2008/11/20/mi-movil-me-cae-mal/</link>
			 <description>&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Pues si, lo odio, hoy he estado pensando un poco acerca de el, y de lo que pod&amp;iacute;a hacer con mi Nokia 8310 (nada). Me mensajeaba con mis amigos, hacia las llamadas que tenia que hacer y solo las justas por que constaban un congo.....&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Por el contrario hoy puedo hacer de todo, mi N95 es un peque&amp;ntilde;o disco duro, tiene 8G que funcionan como si fuese un l&amp;aacute;piz de memoria,es un walkman a lo bestia, las nuevas generaciones ya no aprender&amp;aacute;n ni las letras de las canciones, antes ten&amp;iacute;amos que o&amp;iacute;r la misma pu&amp;ntilde;etera cinta hasta que se daba de si y se o&amp;iacute;a como si el que cantaba estuviese en la monta&amp;ntilde;a rusa, tengo un GPS integrado, por lo que ya no me aprendo el nombre de una p. calle, ni presto atenci&amp;oacute;n a los caminos y casi casi ni miro la carretera, tengo una conexi&amp;oacute;n permanente a San Google, con lo que cualquier duda cultural, social o moral es consultada en el instante, por lo que no voy a aprender nada de nada por que tardo menos en mirarlo que en recordarlo, y ya puestos no me voy a aprender ni los nombres de mis amigos por que cuando me llaman ademas de salir su nombre les veo el careto, hago fotos y bla bla, bla bla. Resultado, la cojo bater&amp;iacute;a de mi super N95-8G de 1200mA me dura en pleno rendimiento 1.5h aprox.&lt;/p&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Pero no, no odio la telefon&amp;iacute;a solo por eso. Lo de hoy ha sido espeluznante, he tenido que cargar el tel&amp;eacute;fono 2 veces y antes de ponerme a escribir estas lineas me ha dado por echar un vistazo al registro de actividad. Entre mensajes SMS, llamadas recibidas y enviadas y correos electr&amp;oacute;nicos recibidos (sin SPAM)  y enviados 163, muy fuerte, o como diaria mi amiga la rana, molt fort. En fin, no tengo que decir nada m&amp;aacute;s para que entend&amp;aacute;is el porqu&amp;eacute; del nombre del Post.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Pero en realidad no estoy siendo totalmente sincero, excepto por el problema de la la bater&amp;iacute;a estoy encantado, calculo que el tiempo necesario para hacer lo que he hecho sin estos mecanismos habr&amp;iacute;a sido de una semana o m&amp;aacute;s.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Y a estas alturas os preguntareis... &amp;iquest;Que tiene que ver este pastin que me estoy tragando con Codeando.net? Lo mas parecido a un lenguaje de programacion ha sido ... nada. Pues si, si que tiene que ver, los dispositivos actuales nos dan una versatilidad brutal, y desde luego no salen as&amp;iacute; de la arena con que se fabrican los integrados, no, tienen horas y horas de programaci&amp;oacute;n. Y aun se le puede sacar mas partido de lo que les sacamos.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;En realidad este articulo es una continuaci&amp;oacute;n del tributo a las librer&amp;iacute;as libres, y en concreto de la descripci&amp;oacute;n del pjsip, una librer&amp;iacute;a de c&amp;oacute;digo abierto que combinada con sus hermanas pjsua y pjmedia pueden hacer la labor de crear un tel&amp;eacute;fono sip realmente rapido, con este tipo de herramientas tenemos el mundo a nuestro alcance. Por ejemplo.... con un iphone, la librer&amp;iacute;a pjsip portada a arm, un asterisk (centralita de c&amp;oacute;digo abierto multi protocolo) podemos convertir nuestro tel&amp;eacute;fono m&amp;oacute;vil en una autentica central de comunicaciones, podemos reconducir todas las llamadas entrantes de nuestro puesto fijo de la oficina via UMTSo wifi a nuestro m&amp;oacute;vil..... aunque estemos en nuestra casa, podemos ver y operar con un portero autom&amp;aacute;tico SIP, podemos salir por distintos puntos de la oficina para conseguir la mejor tarifa, etc... Espectacular.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;En el pr&amp;oacute;ximo post sobre pjsip os pondr&amp;eacute; un c&amp;oacute;digo de como implementar&amp;iacute;a un portero autom&amp;aacute;tico.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Sigamos con los m&amp;oacute;viles... ya tenemos un cojo tel&amp;eacute;fono sip en un Mac os X ups digo en un iphone, pero o abrimos una consola o lo ejecutamos o lo tendremos dificil.... Y aqu&amp;iacute; me quedo, no se como solucionar este problemilla.... por ahora.... Nokia compra Trolltech o lo que es lo mismo Qt!&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;Qt es un framework, conjunto de clases, entorno de programaci&amp;oacute;n, ll&amp;aacute;malo X, sobre el que se ha realizado KDE, entorno de ventanas, alias escritorio, alias M$ Vista killer, que se ha convertido en multi-plataforma, una aplicaci&amp;oacute;n realizada en Qt puede compilarse en Visual C para windows, en Mac, y por supuesto con gcc, pero no se queda ah&amp;iacute;, existe el Qt embedded (formalmente Qtopia) que virtualiza tambi&amp;eacute;n los sistemas operativos m&amp;oacute;viles, en concreto Linux embedded (un linux con framebuffer en vez de X11) y Windows Mobile y, tachan, en breve Symbian S60!!!&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;&amp;nbsp;Flipo.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;margin-bottom: 0cm;\&quot;&gt;&amp;nbsp;Flipo mucho.&lt;/p&gt;</description>
			 <author>mquinteiro</author>
			 <pubDate>2008-11-20T22:10:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Algunos enlaces</title>
			 <link>http://codeando.net/2008/11/13/algunos-enlaces/</link>
			 <description>&lt;ol&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://shiflett.org/blog/2008/oct/font-linking\&quot;&gt;Font Linking&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://leandrovieira.com/projects/jquery/lightbox/\&quot;&gt;jQuery LightBox plugin&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://nettuts.com/articles/web-roundups/are-you-making-these-10-css-mistakes/\&quot;&gt;Are You Making These 10 CSS Mistakes?&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://meiert.com/en/blog/20081111/5-css-tips/\&quot;&gt;5 CSS Tips Every Web Developer Should Know About&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://www.webappers.com/2008/11/11/free-glossy-modern-web-browsers-icons-download/\&quot;&gt;Free Glossy Modern Web Browsers Icons Download&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://www.1stwebdesigner.com/resources/48-snow-ice-snowflake-and-christmas-brushes/\&quot;&gt;48 Snow, Ice, Snowflake and Christmas Brushes&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a target=\&quot;_blank\&quot; href=\&quot;http://www.smashingmagazine.com/2008/11/10/50-must-have-photoshop-brushes/\&quot;&gt;50 Must-Have Photoshop Brushes&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-11-13T11:44:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Creando un men� de navegaci�n s�lo con XHTML y CSS</title>
			 <link>http://codeando.net/2008/11/07/creando-un-menu-de-navegacion-solo-con-xhtml-y-css/</link>
			 <description>&lt;p&gt;Uno de los elementos clave en una p&amp;aacute;gina web es el men&amp;uacute; de navegaci&amp;oacute;n. Hay muchos factores que influyen en el dise&amp;ntilde;o de un men&amp;uacute;, pero ante todo:&lt;/p&gt;&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
    &lt;li&gt;Debe ser bien visible a primera vista.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;Debe ser claro.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;Ha de estar bien formado y ser accesible.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;Debe cumplir los est&amp;aacute;ndares del W3C.&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p&gt;Bien, para construir nuestro men&amp;uacute;, primero crearemos la estructura, usando una lista desordenada (&amp;lt;ul&amp;gt;). Muchos de vosotros direis &amp;iquest;porqu&amp;eacute; todo el mundo se empe&amp;ntilde;a en que tengo que utilizar listas para construir un menu? La respuesta es bien sencilla: el XHTML es un lenguaje dise&amp;ntilde;ado para estructurar datos, y un men&amp;uacute; no deja de ser una lista de enlaces, por lo que lo m&amp;aacute;s natural ser&amp;iacute;a representarlo como lo que es, una lista.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Como ejemplo real, coger&amp;eacute; una web que desarroll&amp;eacute; hace poco, &lt;a href=\&quot;http://www.almirantelibros.com\&quot;&gt;www.almirantelibros.com&lt;/a&gt;. Lo primero, como dec&amp;iacute;amos es crear la estructura del men&amp;uacute;:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;html4strict\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/ul.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;ul&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu1&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/span.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;class&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;selected&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Inicio&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu2&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;http://www.almirantelibros.com/almirante/&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Quienes somos&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu3&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;http://www.almirantelibros.com/coleccion/&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;La colecci&lt;span style=\&quot;color: rgb(221, 187, 0);\&quot;&gt;&amp;amp;oacute;&lt;/span&gt;n&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu4&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;http://www.almirantelibros.com/blog/&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;El Blog&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu5&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;http://www.almirantelibros.com/noticias/&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Noticias&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/li.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;li&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;id&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;lmenu6&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/a.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;http://www.almirantelibros.com/contacto/&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Contacto&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Esto nos dar&amp;iacute;a como resultado algo parecido a lo siguiente:&lt;/p&gt;&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
    &lt;li&gt;Inicio&lt;a href=\&quot;http://www.almirantelibros.com/almirante/\&quot;&gt;&lt;br /&gt;&lt;br /&gt;
    &lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a href=\&quot;http://www.almirantelibros.com/almirante/\&quot;&gt;Quienes somos&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a href=\&quot;http://www.almirantelibros.com/coleccion/\&quot;&gt;La colecci&amp;oacute;n&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a href=\&quot;http://www.almirantelibros.com/blog/\&quot;&gt;El Blog&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a href=\&quot;http://www.almirantelibros.com/noticias/\&quot;&gt;Noticias&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;a href=\&quot;http://www.almirantelibros.com/contacto/\&quot;&gt;Contacto&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p&gt;Ya tenemos un men&amp;uacute; que, aunque completamente funcional, necesita que le demos forma, lo cual haremos a continuaci&amp;oacute;n utilizando CSS y una imagen que habremos preparado previamente. Lo primero es preparar la lista para mostrarla de forma horizontal:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;css\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;ul&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;padding&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;margin&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;ul&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu&lt;/span&gt; li &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;list-style-type&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;none&lt;/span&gt;; &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Eliminamos el punto de los elementos de la lista */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;float&lt;/span&gt;: &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt;;           &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Con esta l&amp;iacute;nea ya tenemos el men&amp;uacute; en horizontal */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;height&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;38px&lt;/span&gt;;          &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Establecemos el alto, para adaptarlo a la imagen */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Una vez tenemos el men&amp;uacute; en horizontal, cargaremos la imagen del men&amp;uacute;, y digo &amp;quot;la imagen&amp;quot; porque utilizaremos una t&amp;eacute;cnica llamada &amp;quot;CSS Sprites&amp;quot; que ya revisaremos a fondo, y que consiste en cargar una sola imagen como si fuera un &amp;quot;mapa&amp;quot; con todas las im&amp;aacute;genes que vamos a utilizar, en este caso en el men&amp;uacute;:&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;text-align: center;\&quot;&gt;&lt;img width=\&quot;735\&quot; height=\&quot;111\&quot; alt=\&quot;\&quot; src=\&quot;/images/image/2008/11/menu.jpg\&quot; /&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;text-align: left;\&quot;&gt;&amp;nbsp;Y ahora vamos con el c&amp;oacute;digo CSS:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;css\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;ul&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu&lt;/span&gt; li a,&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;ul&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu&lt;/span&gt; li span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;display&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;block&lt;/span&gt;;                           &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Convertimos los enlaces y el &amp;quot;span&amp;quot; en bloques */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-image&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;url&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;/images/menu&lt;span style=\&quot;color: rgb(102, 102, 255);\&quot;&gt;.jpg&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;  &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Les asignamos a todos la misma imagen, as&amp;iacute; s&amp;oacute;lo la cargamos una vez */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-repeat&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;no-repeat&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;text-indent&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;24000px&lt;/span&gt;;                    &lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* Escondemos el texto, indent&amp;aacute;ndolo fuera de la p&amp;aacute;gina hacia la izquierda */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(128, 128, 128); font-style: italic;\&quot;&gt;/* A continuaci&amp;oacute;n, con &amp;quot;background-position&amp;quot; y &amp;quot;width&amp;quot;, posicionamos la imagen de fondo para cada elemento del men&amp;uacute; */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu1&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;72px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu1&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu1&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: &lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;left&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;72px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu2&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;100px&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;166px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu2&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;100px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu2&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;100px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;166px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu3&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;292px&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;105px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu3&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;292px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu3&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;292px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;105px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu4&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;423px&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;78px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu4&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;423px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu4&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;423px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;78px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu5&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;528px&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;92px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu5&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;528px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu5&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;528px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;92px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu6&lt;/span&gt; a &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;645px&lt;/span&gt; &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;105px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu6&lt;/span&gt; a&lt;span style=\&quot;color: rgb(51, 51, 255);\&quot;&gt;:hover&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;645px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;37px&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;li&lt;span style=\&quot;color: rgb(204, 0, 204);\&quot;&gt;#lmenu6&lt;/span&gt; span &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;background-position&lt;/span&gt;: -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;645px&lt;/span&gt; -&lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;75px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;width&lt;/span&gt;: &lt;span style=\&quot;color: rgb(153, 51, 51);\&quot;&gt;105px&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Y con esto, ya tenemos terminado el men&amp;uacute;, el ejemplo lo teneis en: &lt;a href=\&quot;http://www.almirantelibros.com/\&quot;&gt;www.almirantelibros.com&lt;/a&gt;&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-11-07T11:09:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>jQuery: Tags con autocomplete (II)</title>
			 <link>http://codeando.net/2008/11/05/jquery-tags-con-autocomplete-(ii)/</link>
			 <description>&lt;p&gt;Sigamos con el ejercicio que empezamos la semana pasada, hoy vamos a retocar el ejemplo para que nuestro script no nos muestre las etiquetas ya seleccionadas. Para ello, modificaremos las opciones del plugin &amp;quot;autocomplete&amp;quot; para que env&amp;iacute;e el contenido ya seleccionado a nuestro script PHP, quedando as&amp;iacute; nuestro c&amp;oacute;digo en javascript:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;javascript\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;lt;script type=&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;!--&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;ready&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;#tags&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autocomplete&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;\'gettags.php\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; multiple: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, cacheLength: &lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;0&lt;/span&gt;, autoFill: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, selectFirst: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, extraParams: &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; t: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; $&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;#tags&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;val&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;, formatItem: formatItem, formatResult: formatResult &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt; formatItem&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; + &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot; (&amp;quot;&lt;/span&gt; + row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; + &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;)&amp;quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt; formatResult&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;--&amp;gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Como vereis, hemos a&amp;ntilde;adido un nuevo par&amp;aacute;metro en la llamada a la funci&amp;oacute;n autocomplete:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;javascript\&quot;&gt;&lt;br /&gt;
extraParams: &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; t: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; $&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;#tags&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;val&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Con esto, hacemos que el plugin entregue el valor del campo &amp;quot;#tags&amp;quot; en el par&amp;aacute;metro &amp;quot;t&amp;quot; en cada llamada (para que esto funcione, debemos tambi&amp;eacute;n desactivar la cach&amp;eacute; con el par&amp;aacute;metro: cacheLength: 0) el cual utilizaremos para crear un filtro en nuestra sentencia SQL:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_connect\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_connect&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'localhost\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'user\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'password\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/mysql_select_db\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_select_db&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'my_db\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;if&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$_GET&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'t\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; &amp;gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$filter&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' AND tag NOT IN (&amp;quot;\'&lt;/span&gt; . &lt;a href=\&quot;http://www.php.net/str_replace\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;str_replace&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\', \'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;, &amp;quot;\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$_GET&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'t\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'&amp;quot;)\'&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;else&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$filter&lt;/span&gt; = &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'\'&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$result&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_query\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'SELECT tag, COUNT(tag) FROM blogs_arts_tags WHERE tag LIKE &amp;quot;\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$_GET&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'q\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'%&amp;quot;\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$filter&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\' GROUP BY tag ORDER BY tag\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;while&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_fetch_row\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_fetch_row&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$result&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/echo\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;|&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/mysql_close\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_close&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-weight: bold;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Y ya lo tenemos, pod&amp;eacute;is volver a pasar por la p&amp;aacute;gina de demostraci&amp;oacute;n para comprobar su funcionamiento, espero que lo disfrut&amp;eacute;is ;)&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://www.codeando.net/examples/jquery-tags-con-autocomplete/index.html\&quot;&gt;Ver demostraci&amp;oacute;n.&lt;/a&gt;&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-11-05T11:04:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Librer�a de iconos freeware: The Graphs.</title>
			 <link>http://codeando.net/2008/11/03/libreria-de-iconos-freeware-the-graphs/</link>
			 <description>&lt;p&gt;Me he encontrado en &lt;a href=\&quot;http://www.smashingmagazine.com/\&quot; target=\&quot;_blank\&quot;&gt;Smashing Magazine&lt;/a&gt; con una estupenda &lt;a href=\&quot;http://www.smashingmagazine.com/2008/11/03/the-graphs-a-free-icon-set/\&quot; target=\&quot;_blank\&quot;&gt;librer&amp;iacute;a de iconos sobre gr&amp;aacute;ficos&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;text-align: center;\&quot;&gt;&lt;a href=\&quot;http://www.smashingmagazine.com/2008/11/03/the-graphs-a-free-icon-set/\&quot; target=\&quot;_blank\&quot;&gt;&lt;img border=\&quot;0\&quot; src=\&quot;/images/2008/11/graphs-icon-set.jpg\&quot; style=\&quot;border: 1px solid rgb(0, 0, 0); margin: 6px;\&quot; alt=\&quot;\&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Disfrutadla.&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-11-03T12:19:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Bienvenidos!!!</title>
			 <link>http://codeando.net/2008/10/31/bienvenidos/</link>
			 <description>&lt;p&gt;Mi primer blog!!!! Y no se me ocurre nada mejor que hablar de tecnolog&amp;iacute;a... dos errores en uno. Bueno, espero estar a la altura y si se puede no aburrir mucho.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Esta secci&amp;oacute;n que creo y estreno pretende ser un tributo a todas aquellas librerias que voy usando en el d&amp;iacute;a a d&amp;iacute;a y que merecen mi gratitud y agradecimiento.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Como en estas fechas estoy metido en VoIP y flirteando con el procesamiento de audio digital empezare con algunas de estas librerias.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Algunas de ellas...&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://www.clam.iua.upf.edu/\&quot;&gt;clam&lt;/a&gt;: http://www.clam.iua.upf.edu/ Brutal, procesamiento digital de audio, todo tipo de operadores, intrumentaci&amp;oacute;n, an&amp;aacute;lisis, codificaci&amp;oacute;n, en realidad de este frame work poco voy a decir, se me queda grande por todos lados, pero desde luego puede servir a cualquier navegante que caiga por estos lares.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p style=\&quot;text-align: center;\&quot;&gt;&lt;img alt=\&quot;Screenshut clam\&quot; src=\&quot;/images/2008/10/NetTutorial-SMSTranspositionPlaying.jpg\&quot; /&gt;&lt;br /&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://www.mega-nerd.com/SRC/\&quot;&gt;libsamplerate&lt;/a&gt; Estupenda libreria para modificar samples rates, como transformo una se&amp;ntilde;al pcm de 44100Hz a 48000?? aqui tienes la soluci&amp;oacute;n, aunque siempre tienes la posibilidad de hacer tu las interpolaciones etc, el tiempo que te ahorrara sera importante. Muy recomendada.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://www.pjsip.org/\&quot;&gt;pjsip&lt;/a&gt; El otro dia tenia una necesidad imperiosa de hacer de escribir en un fichero mp3 las conversaciones de una extension &lt;a target=\&quot;_blank\&quot; href=\&quot;http://es.wikipedia.org/wiki/VoIP\&quot;&gt;VoIP&lt;/a&gt;, era una cuestion de vida o muerte, lo tenia clarisimo, solo tenia que hacer un parser de &lt;a target=\&quot;_blank\&quot; href=\&quot;http://es.wikipedia.org/wiki/Session_Initiation_Protocol\&quot;&gt;SIP&lt;/a&gt;, meter el protocolo &lt;a target=\&quot;_blank\&quot; href=\&quot;http://es.wikipedia.org/wiki/Session_Description_Protocol\&quot;&gt;SDP&lt;/a&gt; y finalmente con un poco de imaginaci&amp;oacute;n hacer mi propia implementaci&amp;oacute;n de RPT, obiamente una misi&amp;oacute;n facilisima pero en mi tesitura de vida o muerte se me antojaba que el destino final iba a ser la muerte. Para ventura de mis familiares y amigos me tope con esta librer&amp;iacute;a, o framework, o aplicacion completa,pjlib, pjsua, pjsip pj-nat. Entre todas ellas te dan todo lo necesario para crear tu propia implementaci&amp;oacute;n de VoIP con SIP, pero no solo se queda ahi, el conjunto de librerias incluyen librerias de Media con abscracci&amp;oacute;n de hardware, puedes realizar tu implementaci&amp;oacute;n casi en cualquier cosa, amd, i386, windows, linux, S60!!! si, symbian. flipo. Gracias! gracias, gracias. Sus cualidades son tan grandes que posiblemente me quedo corto, descubre sus &lt;a href=\&quot;http://www.pjsip.org/sip_media_features.htm\&quot;&gt;prestaciones&lt;/a&gt; tu mismo&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://sox.sourceforge.net/\&quot; target=\&quot;_blank\&quot;&gt;Sox&lt;/a&gt;, &lt;a href=\&quot;http://lame.sourceforge.net/\&quot; target=\&quot;_blank\&quot;&gt;lame&lt;/a&gt; (liblame0), &lt;a href=\&quot;http://www.mpg123.de/\&quot; target=\&quot;_blank\&quot;&gt;mpg123&lt;/a&gt;, &lt;a href=\&quot;http://www.asterisk.org/\&quot; target=\&quot;_blank\&quot;&gt;asterisk&lt;/a&gt;, &lt;a href=\&quot;http://www.gnomemeeting.org/\&quot; target=\&quot;_blank\&quot;&gt;ekiga&lt;/a&gt;,&amp;nbsp; uff ma&amp;ntilde;ana mas. He utilizado tantas que ni me acuerdo, por lo que me propongo en este momento escribir una rese&amp;ntilde;a cada vez que use una libreria de software libre.&lt;/p&gt;</description>
			 <author>mquinteiro</author>
			 <pubDate>2008-10-30T23:00:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>jQuery: Tags con autocomplete</title>
			 <link>http://codeando.net/2008/10/28/jquery-tags-con-autocomplete/</link>
			 <description>&lt;p&gt;En el primer art&amp;iacute;culo t&amp;eacute;cnico de codeando.net vamos a explicar como hemos implementado en el motor de este blog un sistema de &amp;quot;tags&amp;quot; o &amp;quot;etiquetas&amp;quot;, utilizando un &amp;quot;autocomplete&amp;quot; (en este caso &lt;a href=\&quot;http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/\&quot; target=\&quot;_blank\&quot;&gt;un plugin para jQuery&lt;/a&gt;).&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;El primer paso es incluir los ficheros necesarios para la librer&amp;iacute;a y el plugin:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;html4strict\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/link.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;rel&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;stylesheet&amp;quot;&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;type&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;text/css&amp;quot;&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;href&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;/javascript/jquery/plugins/jquery-autocomplete/jquery.autocomplete.css&amp;quot;&lt;/span&gt; /&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/script.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;type&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;src&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;/javascript/jquery.js&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/script.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;type&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;src&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;/javascript/jquery/plugins/jquery-autocomplete/lib/jquery.bgiframe.min.js&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;a href=\&quot;http://december.com/html/4/element/script.html\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;type&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;src&lt;/span&gt;=&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;/javascript/jquery/plugins/jquery-autocomplete/jquery.autocomplete.pack.js&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 153, 0);\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 0); font-weight: bold;\&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Ahora inicializaremos el plugin para el campo deseado:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;javascript\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;ready&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;$&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;#tags&amp;quot;&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;.&lt;span style=\&quot;color: rgb(0, 102, 0);\&quot;&gt;autocomplete&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;\'gettags.php\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt; multiple: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, autoFill: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, selectFirst: &lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;true&lt;/span&gt;, formatItem: formatItem, formatResult: formatResult &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt; formatItem&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; + &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot; (&amp;quot;&lt;/span&gt; + row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; + &lt;span style=\&quot;color: rgb(51, 102, 204);\&quot;&gt;&amp;quot;)&amp;quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 51, 102); font-weight: bold;\&quot;&gt;function&lt;/span&gt; formatResult&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102); font-weight: bold;\&quot;&gt;return&lt;/span&gt; row&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 0, 0);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Pasemos ahora a explicar las opciones que definimos en el segundo par&amp;aacute;metro que pasamos a la funci&amp;oacute;n &lt;b&gt;autocomplete&lt;/b&gt;:&lt;/p&gt;&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;multiple: true&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
    Permite que la funci&amp;oacute;n sea llamada m&amp;uacute;ltiples veces en un mismo campo, utilizando un separador, que por defecto es &amp;quot;, &amp;quot;.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;autoFill: true&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
    Completa la palabra con texto resaltado, de manera que si pulsamos intro o tabulador se inserta el tag autom&amp;aacute;ticamente.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;selectFirst: true&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
    Autom&amp;aacute;ticamente selecciona el primer elemento de la lista al pulsar intro o tabulador, aunque no haya ninguno seleccionado.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;formatItem: formatItem&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
    Llama a la funci&amp;oacute;n especificada (en este caso &amp;quot;formatItem&amp;quot;) en la que se puede manipular el texto visible en el desplegable del autoselect.&lt;/li&gt;&lt;br /&gt;
    &lt;li&gt;&lt;b&gt;formatResult: formatResult&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
    Como el anterior, pero aplicable al valor de la opci&amp;oacute;n.&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p&gt;Con esto queda hecha la parte del cliente, ahora pasemos al lado del servidor: el fichero gettags.php. Este fichero est&amp;aacute; recibiendo los caracteres tecleados por el usuario en el par&amp;aacute;metro GET &amp;quot;q&amp;quot;, que utilizaremos para realizar una consulta a la base de datos y devolver el resultado:&lt;/p&gt;&lt;br /&gt;
&lt;pre class=\&quot;php\&quot;&gt;&lt;ol&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_connect\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_connect&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'localhost\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'user\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'password\'&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/mysql_select_db\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_select_db&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'my_db\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$result&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_query\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'SELECT tag, COUNT(tag) FROM tags WHERE tag LIKE &amp;quot;\'&lt;/span&gt; . &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$_GET&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'q\'&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt; . &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;\'%&amp;quot; GROUP BY tag ORDER BY tag\'&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(177, 177, 0);\&quot;&gt;while&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt; = &lt;a href=\&quot;http://www.php.net/mysql_fetch_row\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_fetch_row&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$result&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt; &lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/echo\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;0&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;|&amp;quot;&lt;/span&gt;, &lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$row&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;[&lt;/span&gt;&lt;span style=\&quot;color: rgb(204, 102, 204);\&quot;&gt;1&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;]&lt;/span&gt;, &lt;span style=\&quot;color: rgb(255, 0, 0);\&quot;&gt;&amp;quot;&lt;span style=\&quot;color: rgb(0, 0, 153); font-weight: bold;\&quot;&gt;\\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=\&quot;font-family: \'Courier New\',Courier,monospace; color: black; font-weight: normal; font-style: normal;\&quot;&gt;&lt;div style=\&quot;font-family: \'Courier New\',Courier,monospace; font-weight: normal;\&quot;&gt;&lt;a href=\&quot;http://www.php.net/mysql_close\&quot;&gt;&lt;span style=\&quot;color: rgb(0, 0, 102);\&quot;&gt;mysql_close&lt;/span&gt;&lt;/a&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;(&lt;/span&gt;&lt;span style=\&quot;color: rgb(0, 0, 255);\&quot;&gt;$db&lt;/span&gt;&lt;span style=\&quot;color: rgb(102, 204, 102);\&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p&gt;Y ya s&amp;oacute;lo queda mostraros el resultado final:&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;a href=\&quot;http://www.codeando.net/examples/jquery-tags-con-autocomplete/index.html\&quot;&gt;Ver demostraci&amp;oacute;n&lt;/a&gt;&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-10-27T23:00:00+01:00</pubDate>
		 </item>
		 <item>
			 <title>Bienvenidos</title>
			 <link>http://codeando.net/2008/10/23/bienvenidos/</link>
			 <description>&lt;p&gt;Hola a todos y bienvenidos a este humilde espacio donde intentaremos ir publicando art&amp;iacute;culos sobre programaci&amp;oacute;n para la web, la llamada Web 2.0, tecnolog&amp;iacute;as de la informaci&amp;oacute;n y otros temas que ya ir&amp;aacute;n saliendo... Desde codeando.net esperamos poder ofreceros contenidos interesantes, generar discusiones y &amp;iquest;porqu&amp;eacute; no? aprender tambi&amp;eacute;n de vuestras aportaciones.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Un saludo y nos vemos en el siguiente post.&lt;/p&gt;</description>
			 <author>Jose</author>
			 <pubDate>2008-10-22T22:00:00+01:00</pubDate>
		 </item>
	 </channel>
</rss>
