<?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>LAMP for WEB &#187; php fonksiyonları</title>
	<atom:link href="http://www.lampforweb.com/index.php/tag/php-fonksiyonlari/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lampforweb.com</link>
	<description>Linux Apache Mysql Php - Örnek uygulama, ipuçları, döküman, duyuru v.s</description>
	<lastBuildDate>Sun, 27 Dec 2009 07:41:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP&#8217;de IN Fonksiyonu</title>
		<link>http://www.lampforweb.com/index.php/php/phpde-in-fonksiyonu/</link>
		<comments>http://www.lampforweb.com/index.php/php/phpde-in-fonksiyonu/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 22:36:19 +0000</pubDate>
		<dc:creator>longvehicle</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php fonksiyonları]]></category>

		<guid isPermaLink="false">http://www.lampforweb.com/index.php/php/phpde-in-fonksiyonu/</guid>
		<description><![CDATA[Mysql&#8217;de uzun OR sorgularından bizi kurtaran IN fonksiyonundan daha önce  bahsetmiştik. Php&#8217;de IN fonksiyonunun tam karşılığı olmasa da aynı şekilde işimize yarayacak olan bir kullanım şekli:

$degisken='php';
if&#40;in_array&#40;$degisken, array&#40;'linux', 'apache', 'mysql', 'php'&#41;&#41;&#41;
&#123;
  echo 'www.lampforweb.com';
&#125;

]]></description>
		<wfw:commentRss>http://www.lampforweb.com/index.php/php/phpde-in-fonksiyonu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Php İle Haftanın Günü</title>
		<link>http://www.lampforweb.com/index.php/php/php-ile-haftanin-gunu/</link>
		<comments>http://www.lampforweb.com/index.php/php/php-ile-haftanin-gunu/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 09:05:08 +0000</pubDate>
		<dc:creator>longvehicle</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php fonksiyonları]]></category>

		<guid isPermaLink="false">http://www.lampforweb.com/?p=13</guid>
		<description><![CDATA[Yeni başlayanlar ve acil ihtiyacı olanlar için php ile haftanın gününü alabileceğiniz küçük bir script. İlerleyen zamanlarda detaylı bir tarih fonksiyonu gelebilir.

&#60;span id=&#34;more-13&#34;&#62;&#60;/span&#62;&#60;?php
function haftanin_gunu&#40;$tarih&#41;
&#123;
	$gunler = array&#40;&#41;;
	$gunler&#91;0&#93; = &#34;Pazar&#34;;
	$gunler&#91;1&#93; = &#34;Pazartesi&#34;;
	$gunler&#91;2&#93; = &#34;Salı&#34;;
	$gunler&#91;3&#93; = &#34;Çarşamba&#34;;
	$gunler&#91;4&#93; = &#34;Perşembe&#34;;
	$gunler&#91;5&#93; = &#34;Cuma&#34;;
	$gunler&#91;6&#93; = &#34;Cumartesi&#34;;
&#160;
	return $gunler&#91;strftime&#40;&#34;%w&#34;,strtotime&#40;$tarih&#41;&#41;&#93;;
&#125;
echo &#34;&#60;p&#62;&#34;;
echo haftanin_gunu&#40;date&#40;&#34;Y-m-d&#34;&#41;&#41;;
echo &#34;&#60;/p&#62;&#34;;
echo &#34;&#60;p&#62;&#34;;
echo haftanin_gunu&#40;&#34;2007-07-07&#34;&#41;;
echo &#34;&#60;/p&#62;&#34;;
?&#62;

]]></description>
		<wfw:commentRss>http://www.lampforweb.com/index.php/php/php-ile-haftanin-gunu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
