<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Quest</title>
	<atom:link href="http://phpquest.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpquest.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 06 Nov 2008 06:45:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phpquest.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Quest</title>
		<link>http://phpquest.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phpquest.wordpress.com/osd.xml" title="Quest" />
	<atom:link rel='hub' href='http://phpquest.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Creating a sample class</title>
		<link>http://phpquest.wordpress.com/2008/11/06/creating-a-sample-class/</link>
		<comments>http://phpquest.wordpress.com/2008/11/06/creating-a-sample-class/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 06:43:42 +0000</pubDate>
		<dc:creator>svidhya</dc:creator>
				<category><![CDATA[Oops in php]]></category>

		<guid isPermaLink="false">http://phpquest.wordpress.com/?p=5</guid>
		<description><![CDATA[The following is the sample program using classes and objects. In this program, a class is created and its member variable is assigned a value. &#60;?php class test { var $a; function assign($val) { $this-&#62;a = $val; } function display() &#8230; <a href="http://phpquest.wordpress.com/2008/11/06/creating-a-sample-class/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpquest.wordpress.com&amp;blog=5423664&amp;post=5&amp;subd=phpquest&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following is the sample program using classes and objects.<br />
In this program, a class is created and its member variable is<br />
assigned a value.</p>
<p>&lt;?php<br />
class test<br />
{<br />
var $a;</p>
<p>function assign($val)<br />
{<br />
$this-&gt;a = $val;<br />
}</p>
<p>function display()<br />
{<br />
echo &#8220;Value &#8221; . $this-&gt;a;</p>
<p>}<br />
}</p>
<p>$t = new test();<br />
$t-&gt;assign(&#8217;2000&#8242;);<br />
$t-&gt;a= 3000;<br />
$t-&gt;display();<br />
?&gt;</p>
<p>The output of the above program will be:</p>
<p>Value: 3000</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpquest.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpquest.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpquest.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpquest.wordpress.com&amp;blog=5423664&amp;post=5&amp;subd=phpquest&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpquest.wordpress.com/2008/11/06/creating-a-sample-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d46abdb19314135732e375c497bf3238?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">svidhya</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting Oracle with PHP</title>
		<link>http://phpquest.wordpress.com/2008/11/06/connecting-oracle-with-php/</link>
		<comments>http://phpquest.wordpress.com/2008/11/06/connecting-oracle-with-php/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 05:44:34 +0000</pubDate>
		<dc:creator>svidhya</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[connect oracle with php]]></category>

		<guid isPermaLink="false">http://phpquest.wordpress.com/?p=3</guid>
		<description><![CDATA[In some instances, we need to connect Oracle with PHP. The following is the sample program that connects oracle with php and fetches data from an oracle table. &#60;?php $dbuser = &#8220;username&#8221;; $dbpass = &#8220;password&#8221;; $dbserver = &#8220;//servername&#8221;; $c=OCILogon($dbuser, $dbpass, &#8230; <a href="http://phpquest.wordpress.com/2008/11/06/connecting-oracle-with-php/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpquest.wordpress.com&amp;blog=5423664&amp;post=3&amp;subd=phpquest&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In some instances, we need to connect Oracle with PHP.<br />
The following is the sample program that connects oracle with php and<br />
fetches data from an oracle table.</p>
<p>&lt;?php</p>
<p>$dbuser = &#8220;username&#8221;;<br />
$dbpass = &#8220;password&#8221;;<br />
$dbserver = &#8220;//servername&#8221;;</p>
<p>$c=OCILogon($dbuser, $dbpass, $dbserver);</p>
<p>if (!$c) {<br />
$err = OCIError();<br />
echo &#8220;Oracle Connect Error &#8221; . $err[text];<br />
}</p>
<p>$query =&#8221;SELECT * from employee&#8221;;<br />
$res= OCIParse($c,$query);<br />
OCI_Execute($res, OCI_DEFAULT);</p>
<p>while(OCIFetch($res)){</p>
<p>$emp_id = OCIResult($res, &#8220;EMP_ID&#8221;);<br />
echo &#8220;Employee id: &#8221; . $emp_id;<br />
}</p>
<p>OCILogoff($c);<br />
?&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpquest.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpquest.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpquest.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpquest.wordpress.com&amp;blog=5423664&amp;post=3&amp;subd=phpquest&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpquest.wordpress.com/2008/11/06/connecting-oracle-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d46abdb19314135732e375c497bf3238?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">svidhya</media:title>
		</media:content>
	</item>
	</channel>
</rss>
