<?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>Help Open source</title>
	<atom:link href="http://phpmanuals.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpmanuals.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 16 Sep 2008 07:13:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phpmanuals.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Help Open source</title>
		<link>http://phpmanuals.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phpmanuals.wordpress.com/osd.xml" title="Help Open source" />
	<atom:link rel='hub' href='http://phpmanuals.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting the Image path in Tiny MCE</title>
		<link>http://phpmanuals.wordpress.com/2008/09/16/setting-the-image-path-in-tiny-mce/</link>
		<comments>http://phpmanuals.wordpress.com/2008/09/16/setting-the-image-path-in-tiny-mce/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 07:13:15 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=28</guid>
		<description><![CDATA[The default for the image path of Tiny MCE is the relative url. So there may arise problems when the file is not shown in that particular server, for eg : sending a mail , so need to change some of the settings in tiny mce. This will help to do anything without any problems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=32&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The default for the image path of Tiny MCE is the relative url. So there may arise problems when the file is not shown in that particular server, for eg : sending a mail , so need to change some of the settings in tiny mce. This will help to do anything without any problems .<br />
Eg: By default insert an image into tinymce like this &lt;img src=&#8221;/images/my_image.jpg&#8221;&gt; from /test where / is the root directory tinymce seems to replace it with &lt;img src=&#8221;../images/my_image.jpg&#8221;&gt; . The images folder is in the / (root).<br />
So you can get rid of this by adding the below three lines<br />
tinyMCE.init({<br />
&#8230;&#8230;<br />
relative_urls : false,<br />
document_base_url : &#8220;http://domainname.com/anyfolder/&#8221;,<br />
convert_urls : false<br />
});</p>
<p>The document_base_url is the relative url .<br />
Refer to http://tinymce.moxiecode.com/examples/full.php full online examples.</p>
<p>http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/document_base_url</p>
<p>http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/convert_urls</p>
<p>http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/remove_script_host</p>
<p>http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/relative_urls</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=32&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/09/16/setting-the-image-path-in-tiny-mce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Make visible and invisible to css</title>
		<link>http://phpmanuals.wordpress.com/2008/08/07/make-visible-and-invisible-to-css/</link>
		<comments>http://phpmanuals.wordpress.com/2008/08/07/make-visible-and-invisible-to-css/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 11:09:31 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=27</guid>
		<description><![CDATA[&#60;span class=&#8221;invisible&#8221; id=&#8221;rci&#8221;&#62;&#60;h1&#62;Will be Visible only if the value returned by test is true&#60;/h1&#62;&#60;/span&#62; &#60;?php $flag = test(); if( $flag ) { ?&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; function changeVisibility() { document.getElementById( &#8216;rci&#8217; ).className = &#8220;visible&#8221;; } changeVisibility(); &#60;/script&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=31&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;span class=&#8221;invisible&#8221; id=&#8221;rci&#8221;&gt;&lt;h1&gt;Will be Visible only if the value returned by test is true&lt;/h1&gt;&lt;/span&gt;<br />
&lt;?php<br />
$flag = test();<br />
if( $flag ) {<br />
?&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function changeVisibility() {<br />
document.getElementById( &#8216;rci&#8217; ).className = &#8220;visible&#8221;;<br />
}<br />
changeVisibility();<br />
&lt;/script&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=31&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/08/07/make-visible-and-invisible-to-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>To change the class name of css with javascript</title>
		<link>http://phpmanuals.wordpress.com/2008/08/07/to-change-the-class-name-of-css-with-javascript/</link>
		<comments>http://phpmanuals.wordpress.com/2008/08/07/to-change-the-class-name-of-css-with-javascript/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 10:55:55 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=26</guid>
		<description><![CDATA[function changeClass( id ){ if( document.getElementById( id ) != undefined ) { document.getElementById( id ).className    =    &#8220;test&#8221;; } } To change the class name of the id with another class, call the javascript changeClass( &#8216;change-id&#8217; )<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=30&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>function changeClass( id ){<br />
if( document.getElementById( id ) != undefined )<br />
{<br />
document.getElementById( id ).className    =    &#8220;test&#8221;;<br />
}<br />
}</p>
<p>To change the class name of the id with another class, call the javascript changeClass( &#8216;change-id&#8217; )</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=30&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/08/07/to-change-the-class-name-of-css-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>A different type of sorting in Mysql</title>
		<link>http://phpmanuals.wordpress.com/2008/08/01/a-different-type-of-sorting-in-mysql/</link>
		<comments>http://phpmanuals.wordpress.com/2008/08/01/a-different-type-of-sorting-in-mysql/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 07:15:15 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=25</guid>
		<description><![CDATA[SELECT id, Line , City, State,Zip FROM Address WHERE User = &#8217;1&#8242; AND id =2 UNION SELECT id, Line , City, State, Zip FROM Address WHERE User = &#8217;1&#8242; AND id !=2 LIMIT 0 , 30 When you need to show the data of the table with the id = 2 in the first .<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=29&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SELECT id, Line , City, State,Zip<br />
FROM Address<br />
WHERE User = &#8217;1&#8242;<br />
AND id =2<br />
UNION SELECT id, Line , City, State, Zip<br />
FROM Address<br />
WHERE User = &#8217;1&#8242;<br />
AND id !=2<br />
LIMIT 0 , 30</p>
<p>When you need to show the data of the table with the id = 2 in the first .</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=29&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/08/01/a-different-type-of-sorting-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert signed number to unsigned</title>
		<link>http://phpmanuals.wordpress.com/2008/07/25/convert-signed-number-to-unsigned/</link>
		<comments>http://phpmanuals.wordpress.com/2008/07/25/convert-signed-number-to-unsigned/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 07:36:14 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=24</guid>
		<description><![CDATA[To convert a signed number to an unsigned number in php , we can use the abs(). Eg : To convert -9 to 9 echo abs( -9 ); //Will echo 9<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=28&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To convert a signed number to an unsigned number in php , we can use the abs().<br />
Eg : To convert -9 to 9<br />
echo abs( -9 ); //Will echo 9</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=28&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/07/25/convert-signed-number-to-unsigned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete records from a select query</title>
		<link>http://phpmanuals.wordpress.com/2008/07/17/delete-records-from-a-select-query/</link>
		<comments>http://phpmanuals.wordpress.com/2008/07/17/delete-records-from-a-select-query/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 15:55:19 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=23</guid>
		<description><![CDATA[Delete all records of test2 where fktest1 field values of the table test1 CREATE TABLE IF NOT EXISTS `test2` ( `id` int(11) NOT NULL auto_increment, `fktest1` int(11) NOT NULL, `name2` varchar(11) collate latin1_general_ci NOT NULL, `fktest3` int(11) NOT NULL, PRIMARY KEY  (`id`) ) CREATE TABLE IF NOT EXISTS `test1` ( `id` int(11) NOT NULL auto_increment, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=27&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Delete all records of test2 where fktest1 field values of the table test1</p>
<p>CREATE TABLE IF NOT EXISTS `test2` (<br />
`id` int(11) NOT NULL auto_increment,<br />
`fktest1` int(11) NOT NULL,<br />
`name2` varchar(11) collate latin1_general_ci NOT NULL,<br />
`fktest3` int(11) NOT NULL,<br />
PRIMARY KEY  (`id`)<br />
)</p>
<p>CREATE TABLE IF NOT EXISTS `test1` (<br />
`id` int(11) NOT NULL auto_increment,<br />
`name` varchar(5) collate latin1_general_ci NOT NULL,<br />
PRIMARY KEY  (`id`)<br />
)</p>
<p>DELETE FROM `test2` WHERE fktest1 IN ( SELECT id FROM test1 WHERE 1 )</p>
<p>DELETE FROM `test2` WHERE fktest1 IN ( SELECT id FROM test1 WHERE 1 ) || fktest3 IN ( SELECT id FROM test1 WHERE 1 )</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=27&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/07/17/delete-records-from-a-select-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Select a random row from mysql</title>
		<link>http://phpmanuals.wordpress.com/2008/06/27/select-a-random-row-from-mysql/</link>
		<comments>http://phpmanuals.wordpress.com/2008/06/27/select-a-random-row-from-mysql/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 18:32:07 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=22</guid>
		<description><![CDATA[To select a random row from a mysql table. SELECT name FROM names ORDER BY RAND() LIMIT 1 Gives you a random name from the list of names in the table &#8220;names&#8221;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=26&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To select a random row from a mysql table.</p>
<p>SELECT name FROM names ORDER BY <strong>RAND() </strong>LIMIT 1</p>
<p>Gives you a random name from the list of names in the table &#8220;names&#8221;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=26&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/06/27/select-a-random-row-from-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Insert Data to table A from table B</title>
		<link>http://phpmanuals.wordpress.com/2008/06/18/insert-data-to-table-a-from-table-b/</link>
		<comments>http://phpmanuals.wordpress.com/2008/06/18/insert-data-to-table-a-from-table-b/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 10:41:54 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=21</guid>
		<description><![CDATA[For inserting or just coping the same contents from a table to another table. Use : INSERT INTO Table1( N-fields ) SELECT N-fields  FROM Table2 WHERE Table2.condition Eg : INSERT INTO order_details( fkOrder , fkShowItemAttribute , Quantity , Price , DiscountPrice , AddPricePerQty , fkItemCategory , DiscSet ) SELECT fkCart , fkShowItemAttribute , Quantity , [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=25&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For inserting or just coping the same contents from a table to another table.<br />
Use :<br />
INSERT INTO Table1( N-fields ) SELECT N-fields  FROM Table2 WHERE Table2.condition</p>
<p>Eg :</p>
<p>INSERT INTO order_details( fkOrder , fkShowItemAttribute , Quantity , Price , DiscountPrice , AddPricePerQty , fkItemCategory , DiscSet ) SELECT fkCart , fkShowItemAttribute , Quantity , Price , DiscountPrice , AddPricePerQty , fkItemCategory , DiscSet FROM cart_details AS CD WHERE CD.fkCart = 3</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=25&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/06/18/insert-data-to-table-a-from-table-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete Syntax</title>
		<link>http://phpmanuals.wordpress.com/2008/06/04/delete-syntax/</link>
		<comments>http://phpmanuals.wordpress.com/2008/06/04/delete-syntax/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 19:19:24 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=20</guid>
		<description><![CDATA[DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name [WHERE where_condition] [ORDER BY ...] [LIMIT row_count] Delete datas from the table and returns the count of the number of rows deleted. Eq: DELETE FROM table WHERE id = 5;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=24&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM <code>tbl_name </code>[WHERE <code>where_condition</code>] [ORDER BY ...] [LIMIT <code>row_count</code>]</p>
<p>Delete datas from the table and returns the count of the number of rows deleted.</p>
<p>Eq: DELETE FROM table WHERE id = 5;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=24&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/06/04/delete-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
		<item>
		<title>Validation Class</title>
		<link>http://phpmanuals.wordpress.com/2008/05/21/validation-class/</link>
		<comments>http://phpmanuals.wordpress.com/2008/05/21/validation-class/#comments</comments>
		<pubDate>Wed, 21 May 2008 16:30:54 +0000</pubDate>
		<dc:creator>Open mind</dc:creator>
				<category><![CDATA[PHP Helps]]></category>

		<guid isPermaLink="false">http://phphelps.freezoka.com/?p=19</guid>
		<description><![CDATA[Searching for a upload progress meter , found an useful class for the form Validation. I dont think all have heard about this class and may not have worked in such a way. This class can automatically create forms with the validations that are needed with put any HTML. We just want to pass the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=23&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Searching for a upload progress meter , found an useful class for the form Validation. I dont think all have heard about this class and may not have worked in such a way. This class can automatically create forms with the validations that are needed with put any HTML. We just want to pass the required values.</p>
<p>You may be thinking , about which class I am boasting. Its none other than  Manuel Lemos <strong><strong>Forms generation and validation </strong></strong>class.  You can get the class from this link  http://www.phpclasses.org/browse/package/1.html</p>
<p>You have to register first. Its just to send you the latest news and all. So do work with it. This class can add server side and  client side form validation.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phpmanuals.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phpmanuals.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phpmanuals.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phpmanuals.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phpmanuals.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phpmanuals.wordpress.com&amp;blog=2647186&amp;post=23&amp;subd=phpmanuals&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phpmanuals.wordpress.com/2008/05/21/validation-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e0022e3713c7285551c15e2636b2fda5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Open mind</media:title>
		</media:content>
	</item>
	</channel>
</rss>
