<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PHP Forums - if empty]]></title>
	<link rel="self" href="http://www.phpforums.org/feed-atom-topic21.xml"/>
	<updated>2010-08-06T09:48:01Z</updated>
	<generator>PunBB</generator>
	<id>http://phpforums.org/topic21-if-empty.html</id>
		<entry>
			<title type="html"><![CDATA[Re: if empty]]></title>
			<link rel="alternate" href="http://phpforums.org/post74.html#p74"/>
			<content type="html"><![CDATA[<p>A small sample<br /></p><div class="codebox"><pre><code>&lt;?php
$pattern = &quot;^([A-Za-z0-9\.|-|_]{1,60})([@])&quot;;
$pattern .=&quot;([A-Za-z0-9\.|-|_]{1,60})(\.)([A-Za-z]{2,3})$&quot;;

ereg($pattern,$email)
?&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[aneeshrp]]></name>
				<uri>http://phpforums.org/user46.html</uri>
			</author>
			<updated>2010-08-06T09:48:01Z</updated>
			<id>http://phpforums.org/post74.html#p74</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: if empty]]></title>
			<link rel="alternate" href="http://phpforums.org/post35.html#p35"/>
			<content type="html"><![CDATA[<p>I think you should use <a href="http://www.php.net/manual/en/book.regex.php">regular expressions</a>.</p>]]></content>
			<author>
				<name><![CDATA[Earl]]></name>
				<uri>http://phpforums.org/user6.html</uri>
			</author>
			<updated>2009-10-13T09:47:24Z</updated>
			<id>http://phpforums.org/post35.html#p35</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[if empty]]></title>
			<link rel="alternate" href="http://phpforums.org/post34.html#p34"/>
			<content type="html"><![CDATA[<p>all clear for what is meant if(empty($field))</p><p>i dont like the fact that the field is no longer seen as empty if it consists even of one space</p><p>how to make that the field is empty although it would contain even 100 spaces?</p><p>thanks</p>]]></content>
			<author>
				<name><![CDATA[manif3sto]]></name>
				<uri>http://phpforums.org/user7.html</uri>
			</author>
			<updated>2009-10-12T11:43:02Z</updated>
			<id>http://phpforums.org/post34.html#p34</id>
		</entry>
</feed>

