<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Scriptmatico.Com &#187; MYSQL</title>
	<atom:link href="http://www.scriptmatico.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptmatico.com</link>
	<description>Blog de tecnologia, programacion, articulos y mas...</description>
	<lastBuildDate>Fri, 05 Aug 2011 23:39:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Video Tutorial : Eliminación de Varios Registros con PHP &amp; MYSQL, usando Checkboxes Parte 2</title>
		<link>http://www.scriptmatico.com/2010/03/31/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes-parte-2/</link>
		<comments>http://www.scriptmatico.com/2010/03/31/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes-parte-2/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 00:38:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://www.scriptmatico.com/?p=362</guid>
		<description><![CDATA[Esta es la segunda parte de este video tutorial donde les enseñare a eliminar múltiples registros de la base de datos, en esta segunda parte añadiremos validación con del formulario usando Javascript. El link al código fuente completo esta mas abajo, este video tutorial esta dividido en dos, ya que Youtube no deja subir vídeos [...]]]></description>
			<content:encoded><![CDATA[<p>Esta es la segunda parte de este video tutorial donde les enseñare a eliminar múltiples registros de la base de datos, en esta segunda parte añadiremos validación con del formulario usando Javascript.</p>
<p>El link al código fuente completo esta mas abajo, este video tutorial esta dividido en dos, ya que Youtube no deja subir vídeos de mas de 10Mins.</p>
<p>Bien aqui les dejo el Video tutorial, Agradeceria comentarios en youtube o en el blog. Gracias.</p>
<p><a title="Descargar Archivos" href="http://www.scriptmatico.com/wp-content/uploads/2010/03/cursito.zip" target="_blank">Descargar Código Fuente.</a></p>
<p>Parte 1:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="305" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ST3HpReiV2I&amp;hl=es_ES&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="305" src="http://www.youtube.com/v/ST3HpReiV2I&amp;hl=es_ES&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Parte 2:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="305" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qZ49JLhRkRY&amp;hl=es_ES&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="305" src="http://www.youtube.com/v/qZ49JLhRkRY&amp;hl=es_ES&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Video+Tutorial+%3A+Eliminaci%C3%B3n+de+Varios+Registros+con+PHP+%26+MYSQL%2C+usando+Checkboxes+Parte+2+http%3A%2F%2Ftinyurl.com%2F3w2gwfm" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Video+Tutorial+%3A+Eliminaci%C3%B3n+de+Varios+Registros+con+PHP+%26+MYSQL%2C+usando+Checkboxes+Parte+2+http%3A%2F%2Ftinyurl.com%2F3w2gwfm" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2010/03/31/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes-parte-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial : Eliminación de Varios Registros con PHP &amp; MYSQL, usando Checkboxes</title>
		<link>http://www.scriptmatico.com/2010/03/29/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes/</link>
		<comments>http://www.scriptmatico.com/2010/03/29/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 23:06:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://www.scriptmatico.com/?p=354</guid>
		<description><![CDATA[En este video tutorial les enseñare a eliminar múltiples registros de la base de datos, la técnica de programación en muy simple, en esta primera parte del curso les enseñare a hacer la eliminación múltiple y en la segunda parte añadiremos validación con del formulario usando Javascript. El código fuente completo lo tendrán en la [...]]]></description>
			<content:encoded><![CDATA[<p>En este video tutorial les enseñare a eliminar múltiples registros de la base de datos, la técnica de programación en muy simple, en esta primera parte del curso les enseñare a hacer la eliminación múltiple y en la segunda parte añadiremos validación con del formulario usando Javascript.</p>
<p>El código fuente completo lo tendrán en la segunda parte del curso, este video tutorial esta dividido en dos, ya que Youtube no deja subir vídeos de mas de 10Mins.</p>
<p>Bien aqui les dejo el Video tutorial, Agradeceria comentarios en youtube o en el blog. Gracias.</p>
<p>Parte 1:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="305" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/5uRId3sOPtk&amp;hl=es_ES&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="305" src="http://www.youtube.com/v/5uRId3sOPtk&amp;hl=es_ES&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Parte 2:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="305" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/eDg_sIAgOhM&amp;hl=es_ES&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="305" src="http://www.youtube.com/v/eDg_sIAgOhM&amp;hl=es_ES&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Video+Tutorial+%3A+Eliminaci%C3%B3n+de+Varios+Registros+con+PHP+%26+MYSQL%2C+usando+Checkboxes+http%3A%2F%2Ftinyurl.com%2F4xxd5zz" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Video+Tutorial+%3A+Eliminaci%C3%B3n+de+Varios+Registros+con+PHP+%26+MYSQL%2C+usando+Checkboxes+http%3A%2F%2Ftinyurl.com%2F4xxd5zz" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2010/03/29/video-tutorial-eliminacion-de-varios-registros-con-php-mysql-usando-checkboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listado de registros PHP MySQL en una tabla HTML</title>
		<link>http://www.scriptmatico.com/2008/04/05/listado-de-registros-php-mysql-en-una-tabla-html/</link>
		<comments>http://www.scriptmatico.com/2008/04/05/listado-de-registros-php-mysql-en-una-tabla-html/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 17:58:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.exodo999.phpnet.us/?p=57</guid>
		<description><![CDATA[Bien este articulo lo escribi para un amigo que no puede hacer un simple listado. Bueno entendere que es novato pero vamos a darle un pequeño ejemplo, aqui debajo les pongo todo el codigo que he desarrollado y se los explico. PLAIN TEXT PHP: &#60;? //creamos el link de coneccion a nuestro servidor $link=mysql_connect&#40;"localhost","root",""&#41;; //seleccionamos [...]]]></description>
			<content:encoded><![CDATA[<p>Bien este articulo lo escribi para un amigo que no puede hacer un simple listado.</p>
<p>Bueno entendere que es novato pero vamos a darle un pequeño ejemplo, aqui debajo les pongo todo el codigo que he desarrollado y se los explico.</p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//creamos el link de coneccion a nuestro servidor</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$link</span>=<a href="http://www.php.net/mysql_connect"><span style="color:#000066;">mysql_connect</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"localhost"</span>,<span style="color:#FF0000;">"root"</span>,<span style="color:#FF0000;">""</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//seleccionamos la base de datos</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/mysql_select_db"><span style="color:#000066;">mysql_select_db</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"test"</span>,<span style="color:#0000FF;">$link</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//ejecutamos la consulta a la base de datos para extraer los registros</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$rows</span>=<a href="http://www.php.net/mysql_query"><span style="color:#000066;">mysql_query</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"select * from usuarios"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!-- creamos lo que sera la cabecera de nuestra tabla--&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;table&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;tr&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;th&gt;Usuario&lt;/th&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;th&gt;Clave&lt;/th&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/tr&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//esta parte es opcional.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//aqui solo extraemos el total de registros que nos devolvio nuestra consulta</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$totalregistros</span>=<a href="http://www.php.net/mysql_num_rows"><span style="color:#000066;">mysql_num_rows</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$rows</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//iniciamos el recorrido de nuestros registros</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">while</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$row</span>=<a href="http://www.php.net/mysql_fetch_array"><span style="color:#000066;">mysql_fetch_array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$rows</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!--este es el cuerpo de nuestra tabla la cual muestra los datos de nuestra tabla--&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!-- no es necesario pintar la tabla con php asi que por eso he cerrado etiquetas dond termino de usar codigo php --&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!--y solo las habro donde las voy a usar como es el codigo que se muestra debajo: --&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;tr&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;? <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$row</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'usuario'</span><span style="color:#006600; font-weight:bold;">&#93;</span>;?&gt;&lt;/td&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;? <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$row</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'clave'</span><span style="color:#006600; font-weight:bold;">&#93;</span>;?&gt;&lt;/td&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/tr&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//este es el fin de nuestro ciclo while</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!--por ultimo ponemos lo que es el pie de pagina de nuestra tabla y terminamos la tabla--&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;tr&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=<span style="color:#FF0000;">"2"</span>&gt;Total de Registros: <span style="color:#000000; font-weight:bold;">&lt;?</span> <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$totalregistros</span>;?&gt;&lt;/td&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/tr&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/table&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Esto es asi de sencillo. Creo que no hay nada mas que explicar y espero que no se me aiga esacapado algun detalle.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Listado+de+registros+PHP+MySQL+en+una+tabla+HTML+http%3A%2F%2Ftinyurl.com%2F3kj54ng" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Listado+de+registros+PHP+MySQL+en+una+tabla+HTML+http%3A%2F%2Ftinyurl.com%2F3kj54ng" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2008/04/05/listado-de-registros-php-mysql-en-una-tabla-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problemas al Importar caracteres especiales en mysql</title>
		<link>http://www.scriptmatico.com/2008/03/12/problemas-al-importar-caracteres-especiales-en-mysql/</link>
		<comments>http://www.scriptmatico.com/2008/03/12/problemas-al-importar-caracteres-especiales-en-mysql/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 07:04:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.exodo999.phpnet.us/?p=54</guid>
		<description><![CDATA[El dia de hoy estuve batallando al intentar migrar un archivo csv a una tabla en mi base de datos mysql. El problema es que al momento de meter los textos a los campos de mi tabla los caracteres especiales tales como la ñ o la á aparecian con simbolos extraños o simplemente estavan como [...]]]></description>
			<content:encoded><![CDATA[<p>
El dia de hoy estuve batallando al intentar migrar un archivo csv a una tabla en mi base de datos mysql.<br />
El problema es que al momento de meter los textos a los campos de mi tabla los caracteres especiales tales como la ñ o la á aparecian con simbolos extraños o simplemente estavan como corruptos.
</p>
<p>La buena notica es que es muy facil resolver esto y es solo usando el juego de caracteres correctos. Bien cuando creemos nuestra base de datos al igual que la tabla debemos de escoger el cotejamiento en este caso UTF-8 y el archivo que aigamos creado ya sea un csv o un archivo de extension .sql recomiendo guardarlo en el mismo cotejamiento UTF-8. o Probar con la Codificacion Occidental Latin 1 de windows. Es solo buscar la convinacion correcta en el juego de caracteres.</p>
<p><a href='http://www.exodo999.phpnet.us/wp-content/test.jpg' title='test.jpg'><img src='http://www.exodo999.phpnet.us/wp-content/test.thumbnail.jpg' alt='test.jpg' /></a></p>
<p>Aqui les pongo una imagen de los tipos de codificacion que pueden usar.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Problemas+al+Importar+caracteres+especiales+en+mysql+http%3A%2F%2Ftinyurl.com%2F3f2axtv" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Problemas+al+Importar+caracteres+especiales+en+mysql+http%3A%2F%2Ftinyurl.com%2F3f2axtv" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2008/03/12/problemas-al-importar-caracteres-especiales-en-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 1075 MYSQl</title>
		<link>http://www.scriptmatico.com/2007/08/25/error-1075-mysql/</link>
		<comments>http://www.scriptmatico.com/2007/08/25/error-1075-mysql/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 04:44:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://www.exodo999.phpnet.us/?p=38</guid>
		<description><![CDATA[Bien este articulo lo escribi por algo que me paso con un script de msyql que necesitava, he aqui el codigo: PLAIN TEXT MySQL: CREATE TABLE T002Salones &#40; &#160; &#160; idT005Campus INTEGER UNSIGNED NOT NULL, &#160; &#160; idT002Salon INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, &#160; &#160; Descripcion CHAR NULL, &#160; &#160; Cupo INTEGER UNSIGNED NULL, &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Bien este articulo lo escribi por algo que me paso con un script de msyql que necesitava, he aqui el codigo:</p>
<div class="igBar"><span id="lmysql-5"><a href="#" onclick="javascript:showPlainTxt('mysql-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">MySQL:</span>
<div id="mysql-5">
<div class="mysql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">CREATE TABLE</span> T002Salones <span style="color: #66cc66;">&#40;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; idT005Campus <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NOT NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; idT002Salon <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NOT NULL</span> <span style="color: #aa3399; font-weight: bold;">AUTO_INCREMENT</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Descripcion <span style="color: #aa9933; font-weight: bold;">CHAR</span> <span style="color: #aa3399; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Cupo <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #993333; font-weight: bold;">PRIMARY KEY</span><span style="color: #66cc66;">&#40;</span>idT005Campus, idT002Salon<span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Bien al ejecutar este codigo marca un error el cual es el error 1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key. Bien este error es causa de que AUTO_INCREMENT se encuentra en una columna secundaria y se estan definiendo dos llaves primarias, la forma de solucionar esto es especificando el tipo de tabla con <b>Type=MyIsam</b> y el codigo quedaria asi:</p>
<div class="igBar"><span id="lmysql-6"><a href="#" onclick="javascript:showPlainTxt('mysql-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">MySQL:</span>
<div id="mysql-6">
<div class="mysql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">CREATE TABLE</span> T002Salones <span style="color: #66cc66;">&#40;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; idT005Campus <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NOT NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; idT002Salon <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NOT NULL</span> <span style="color: #aa3399; font-weight: bold;">AUTO_INCREMENT</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Descripcion <span style="color: #aa9933; font-weight: bold;">CHAR</span> <span style="color: #aa3399; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; Cupo <span style="color: #aa9933; font-weight: bold;">INTEGER</span> <span style="color: #aa3399; font-weight: bold;">UNSIGNED</span> <span style="color: #aa3399; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #993333; font-weight: bold;">PRIMARY KEY</span><span style="color: #66cc66;">&#40;</span>idT005Campus, idT002Salon<span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#41;</span>Type=MyIsam; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora al momento de ejecutar el script ya no marcara el error, que facil verdad <img src='http://www.scriptmatico.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , espero le ayude a alguien este articulo.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Error+1075+MYSQl+http%3A%2F%2Ftinyurl.com%2F3mhs5tz" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Error+1075+MYSQl+http%3A%2F%2Ftinyurl.com%2F3mhs5tz" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2007/08/25/error-1075-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrar de SQL server 2000 a MYSQL 4.0</title>
		<link>http://www.scriptmatico.com/2007/08/02/migrar-de-sql-server-2000-a-mysql-40/</link>
		<comments>http://www.scriptmatico.com/2007/08/02/migrar-de-sql-server-2000-a-mysql-40/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 20:29:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[SQL SERVER]]></category>

		<guid isPermaLink="false">http://www.exodo999.phpnet.us/?p=33</guid>
		<description><![CDATA[Bien esta vez me tope con la migracion de la base de datos de SQL server a MYSQL, la verdad que es muy facil, solo ay que seguir estos pasos: Lo primero que hacemos es descargar el driver de la pagina de mysql, una vez descargado procederemos a instalarlo. Cuando demos doble click en el [...]]]></description>
			<content:encoded><![CDATA[<p>Bien esta vez me tope con la migracion de la base de datos de SQL server a MYSQL, la verdad que es muy facil, solo ay que seguir estos pasos:</p>
<p>Lo primero que hacemos es descargar el driver de la pagina de <a href="http://www.mysql.com">mysql</a>, una vez descargado procederemos a instalarlo.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasouno.jpg' title='pasouno.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasouno-150x150.jpg' alt='pasouno.JPG' /></a></p>
<p>Cuando demos doble click en el instalador nos aparecera una imagen como la de abajo, solo ay que seguir los pasos, no creo que les sea dificil instalarlo.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/setup.jpg' title='setup.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/setup-150x150.jpg' alt='setup.JPG' /></a></p>
<p>Bien ahora abriremos el administrador de consultas y damos clic derecho en la base de datos la cual vamos a querer migrar, luego en el menu buscamos en el que dice All Taks o Todas las tareas en español y damos click a Exportar Datos o Export.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasodos.jpg' title='pasodos.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasodos-150x150.jpg' alt='pasodos.JPG' /></a></p>
<p>Nos debe aparecer una ventana como la siguiente:</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/paso1.jpg' title='paso1.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/paso1-150x150.jpg' alt='paso1.JPG' /></a></p>
<p>Bien demos click en siguiente y nos aparecera una ventana como la siguiente pidiendonos el origen de datos y escogeremos El Proveedor OLE para SQL que al parecer es el default.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/orign.jpg' title='orign.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/orign-150x150.jpg' alt='orign.JPG' /></a></p>
<p>Bien ahora le damos click en siguiente y nos mostrara la siguiente pantalla en la cual escojeremos el destino que seria Mysql ODBC driver.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/dest.jpg' title='dest.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/dest-150x150.jpg' alt='dest.JPG' /></a></p>
<p>Una vez seleccionado esto marcaremos la primera opcion que nos da por lo general es la default y damos click en el boton Nuevo, nos aparecera una ventana como la siguiente:</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns1.jpg' title='ns1.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns1-150x150.jpg' alt='ns1.JPG' /></a></p>
<p>Damos click en siguiente y escogemos de la lista Mysql ODBC 3.51 Driver ahora damos click de nuevo a siguiente y Por ultimo en Finich o Finalizar.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns2.jpg' title='ns2.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns2-150x150.jpg' alt='ns2.JPG' /></a><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns3.jpg' title='ns3.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/ns3-150x150.jpg' alt='ns3.JPG' /></a></p>
<p>Inmadiatamente nos aparecera la siguiente pantalla, solo la llenaremos con los datos correspondientes a nuestro servidor MYSQL y seleccionaremos la Base de datos que tomara por default para migrar. Podemos dar click en test para ver si nos conecta o dar click en OK para salir de ahi.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/mysqldconf.jpg' title='mysqldconf.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/mysqldconf-150x150.jpg' alt='mysqldconf.JPG' /></a></p>
<p>Continuando nos regresara a la pantalla del destino de datos con el data source que acabamos de crear.</p>
<p><a href='http://www.exodo999.phpnet.us/wp-content/pasf.JPG' title='pasf.JPG'><img src='http://www.exodo999.phpnet.us/wp-content/pasf.thumbnail.JPG' alt='pasf.JPG' /></a></p>
<p>Damos click en siguiente y nos aparecera una ventana con dos opciones habilitadas dejaremos la primera por default para copiar las tablas que seleccionemos, damos click en siguiente para seleccionar las tablas que vamos a migrar.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasop.jpg' title='pasop.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasop-150x150.jpg' alt='pasop.JPG' /></a></p>
<p>Seleccionamos las tablas como lo muestra la imagen. Y damos Click en siguiente.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasoul.jpg' title='pasoul.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasoul-150x150.jpg' alt='pasoul.JPG' /></a></p>
<p>La siguiente ventana nos permitira programar la migracion o realizarla inmediatamente, en este caso sera de inmediato damos click en siguiente y luego en finalizar. Cuando demos click en finalizar nos aparecera una ventana con el progreso y cuando termine mandara un mensage de que ha finalizado.</p>
<p><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasol.jpg' title='pasol.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasol-150x150.jpg' alt='pasol.JPG' /></a><a href='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasollll.jpg' title='pasollll.JPG'><img src='http://www.scriptmatico.com/wp-content/uploads/2007/08/pasollll-150x150.jpg' alt='pasollll.JPG' /></a></p>
<p>Espero que al que lea esto le sea de mucha utilidad y de algo sirva mi experiencia jeje.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Migrar+de+SQL+server+2000+a+MYSQL+4.0+http%3A%2F%2Ftinyurl.com%2F3zxz3zu" title="Enviar a Twitter"><img class="nothumb" src="http://www.scriptmatico.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://twitter.com/intent/tweet?text=Migrar+de+SQL+server+2000+a+MYSQL+4.0+http%3A%2F%2Ftinyurl.com%2F3zxz3zu" title="Enviar a Twitter">  </a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.scriptmatico.com/2007/08/02/migrar-de-sql-server-2000-a-mysql-40/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

