<?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; mysql</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/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 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>
	</channel>
</rss>

