<?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>PHP Tutorials Code Snippets and Php Tips &#187; Php &amp; MySQL</title>
	<atom:link href="http://readytousesolutions.com/phpblog/category/php-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 23 Sep 2010 06:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP Tutorials : Rename a mysql table</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorials-rename-a-mysql-table/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorials-rename-a-mysql-table/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 08:19:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php & MySQL]]></category>
		<category><![CDATA[mysql rename table]]></category>
		<category><![CDATA[php rename mysql table]]></category>
		<category><![CDATA[rename database table]]></category>
		<category><![CDATA[rename mysql table]]></category>
		<category><![CDATA[rename table]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=335</guid>
		<description><![CDATA[If you want to rename a mysql table via php you just need an extremely simple query like the one it&#8217;s following: &#60;?php //include db credentials mysql_query("rename table TheOldName to TheNewName"); ?&#62;]]></description>
			<content:encoded><![CDATA[<p>If you want to rename a mysql table via php you just need an extremely simple query like the one it&#8217;s following:</p>
<pre class="php">
<span class="phpScriptTag"><span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php</span>
<span class="phpComment">/<span class="phpKeyword"><span class="phpKeyword">/include </span></span>db credentials
</span>
<span class="phpFunction">mysql_query</span><span class="phpOperator">(</span><span class="phpString">"rename table TheOldName to TheNewName"</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorials-rename-a-mysql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Mysql Dump</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-mysql-dump/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-mysql-dump/#comments</comments>
		<pubDate>Fri, 08 May 2009 08:50:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php & MySQL]]></category>
		<category><![CDATA[mysql dump]]></category>
		<category><![CDATA[mysql dumps]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=207</guid>
		<description><![CDATA[Did you see this expression and doubt what it means? Mysql Dumps are files in different extensions/formats like .sql, .txt etc. which are used to store databases informations, table structures, mysql tables creations, table datas/entries and more. The mysql dumps &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-mysql-dump/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Did you see this expression and doubt what it means? Mysql Dumps are files in different extensions/formats like .sql, .txt etc. which are used to store databases informations, table structures, mysql tables creations, table datas/entries and more. The mysql dumps are usually used to make a backup, transfer a website database when switching hosts for example, and many more&#8230;</p>
<p>Now you know what mysqldump means!</p>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-mysql-dump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Extracting rows from mysql</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-extracting-rows-from-mysql/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-extracting-rows-from-mysql/#comments</comments>
		<pubDate>Fri, 08 May 2009 08:45:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php & MySQL]]></category>
		<category><![CDATA[extracting rows]]></category>
		<category><![CDATA[Extracting rows from mysql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql extract]]></category>
		<category><![CDATA[mysql fields]]></category>
		<category><![CDATA[mysql loop]]></category>
		<category><![CDATA[mysql print]]></category>
		<category><![CDATA[mysql print rows fields]]></category>
		<category><![CDATA[mysql rows]]></category>
		<category><![CDATA[rows]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=205</guid>
		<description><![CDATA[Helllooooooo, In latest two posts I have shown you how to connect to a mysql database via PHP, and in another one I teach you how to select rows from a mysql database table. In this one I will show &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-extracting-rows-from-mysql/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Helllooooooo,<br />
In latest two posts I have shown you how to connect to a mysql database via PHP, and in another one I teach you how to select rows from a mysql database table. In this one I will show you how to extract that rows from mysql and print them out into a page. Let&#8217;s suppose we have a database which contains fields : id, full_name, age. Ok, next step is connecting to db, then making a query to select those fields and finally extract &amp; print them on the screen :</p>
<pre class="php">
$query_db <span class="phpOperator">=</span> <span class="phpString">"select * from table_Name"</span><span class="phpText">;</span>
$result_db <span class="phpOperator">=</span> <span class="phpFunction">mysql_query</span><span class="phpOperator">(</span>$query_db<span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpKeyword">
while<span class="phpOperator">(</span></span>$row<span class="phpOperator">=</span>@<span class="phpFunction">mysql_fetch_object</span><span class="phpOperator">(</span>$result_db<span class="phpOperator">)</span> <span class="phpOperator">{</span>
print <span class="phpString">"$row<span class="phpOperator">-<span class="phpOperator">&gt;</span></span>full_name it&#039;s $row<span class="phpOperator">-<span class="phpOperator">&gt;</span></span>age years old"</span><span class="phpText">;</span>
<span class="phpOperator">}</span>
</pre>
<p>We used a while() loop to extract all results!</p>
<p>Isn&#8217;t PHP rocking?</p>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-extracting-rows-from-mysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Building a MySQL query</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-building-a-mysql-query/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-building-a-mysql-query/#comments</comments>
		<pubDate>Sun, 03 May 2009 06:13:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php & MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql interogate]]></category>
		<category><![CDATA[mysql select]]></category>
		<category><![CDATA[mysql select table fields]]></category>
		<category><![CDATA[mysql table]]></category>
		<category><![CDATA[mysql_query]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=201</guid>
		<description><![CDATA[In a recent tutorial I was showing you how to build a connection to MySQL database via PHP. In this one I will show you how to create a query to interogate a table of the database. Look below : &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-building-a-mysql-query/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a recent tutorial I was showing you how to build a connection to MySQL database via PHP. In this one I will show you how to create a query to interogate a table of the database. Look below :</p>
<pre class="php">
<span class="phpScriptTag"><span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php</span>
$query <span class="phpOperator">=</span> <span class="phpFunction">mysql_query</span><span class="phpOperator">(</span><span class="phpString">"select * from table_Name"</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
</pre>
<p>* &#8211; sign means all, so by using this query, you will select all fields from a table_Name</p>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-building-a-mysql-query/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Connecting to MySQL database via PHP</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-connecting-to-mysql-database-via-php/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-connecting-to-mysql-database-via-php/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 20:24:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php & MySQL]]></category>
		<category><![CDATA[mysql_connect]]></category>
		<category><![CDATA[php connect to database]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=199</guid>
		<description><![CDATA[In this tutorial I will speak first time about php programming language and MySQL database engine togheter. I will show and explain how simple is to connect to a mysql server via php using a simple functio called mysql_connect(). mysql_connect('localhost', &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-connecting-to-mysql-database-via-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will speak first time about php programming language and MySQL database engine togheter. I will show and explain how simple is to connect to a mysql server via php using a simple functio called mysql_connect().</p>
<pre class="php">
<span class="phpFunction">mysql_connect</span><span class="phpOperator">(</span><span class="phpString">'localhost'</span>, <span class="phpString">'mysql_database_user'</span>, <span class="phpString">'mysql_db_password'</span><span class="phpOperator">)</span> or <span class="phpFunction">die</span><span class="phpOperator">(</span><span class="phpString">"not connected to db"</span><span class="phpOperator">)</span><span class="phpText">;</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-connecting-to-mysql-database-via-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

