<?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>JAMSHID HASHIMI</title>
	<atom:link href="http://jamshidhashimi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamshidhashimi.com</link>
	<description>My Small World</description>
	<lastBuildDate>Tue, 31 Jan 2012 05:51:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>is_numeric() function in PHP</title>
		<link>http://jamshidhashimi.com/2012/01/31/is_numeric-function-in-php/</link>
		<comments>http://jamshidhashimi.com/2012/01/31/is_numeric-function-in-php/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 05:48:58 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[is integer]]></category>
		<category><![CDATA[is_numeric]]></category>
		<category><![CDATA[php check value]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=577</guid>
		<description><![CDATA[if (is_numeric (428)) { echo "Yes"; } else { echo "No"; } &#60;?php if (is_numeric ("Jamshid")) { echo "Yes"; } else { echo "No"; } ?&#62; First parts output is YES and the seconds output is NO]]></description>
			<content:encoded><![CDATA[<pre class="brush:php">if (is_numeric (428))
{
  echo "Yes";
}
else
{
  echo "No";
}</pre>
<pre class="brush:php">&lt;?php
if (is_numeric ("Jamshid"))
{
  echo "Yes";
}
else
{
  echo "No";
}
 ?&gt;</pre>
<p>First parts output is YES and the seconds output is NO</p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2012/01/31/is_numeric-function-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First MSP of Afghanistan</title>
		<link>http://jamshidhashimi.com/2011/12/28/first-msp-of-afghanistan/</link>
		<comments>http://jamshidhashimi.com/2011/12/28/first-msp-of-afghanistan/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 17:11:30 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[being msp]]></category>
		<category><![CDATA[microsoft student]]></category>
		<category><![CDATA[microsoft student partner]]></category>
		<category><![CDATA[MSP]]></category>
		<category><![CDATA[what is msp]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=546</guid>
		<description><![CDATA[I am really happy to write these sentences for a great news of being the first MSP of Afghanistan after passing a period of 1 year as MSP in Turkey. You may start to ask, what is this MSP, so here is the answer: What is MSP? The Microsoft Student Partners (MSP) is a worldwide [...]]]></description>
			<content:encoded><![CDATA[<p>I am really happy to write these sentences for a great news of being the first MSP of Afghanistan after passing a period of 1 year as MSP in Turkey. You may start to ask, what is this MSP, so here is the answer:</p>
<p><strong>What is MSP?<br />
</strong><br />
The Microsoft Student Partners (MSP) is a worldwide educational program to sponsor students majoring in disciplines related to technology. The MSP program attempts to enhance students&#8217; employability by offering training in skills not usually taught in academia, including knowledge in various Microsoft technologies.</p>
<p>The program is available in most countries, and all students in college and university level are eligible to apply. Typically, few most skilled students from each institution are chosen at a time. If accepted, Student Partners are assumed to further share the knowledge among the academic community by, for example, arranging courses, giving presentations and initiating projects.</p>
<p><strong>Purpose<br />
</strong><br />
The MSP program is an educational and promotional program to sponsor undergraduate and postgraduate students majoring in disciplines related to technology, typically computer science, computer information systems, and information technology. MSP program aims to enhance students&#8217; employability and increase students&#8217; awareness of Microsoft technologies. Student Partners are offered training especially in product-specific skills not typically taught in academia.</p>
<p>As a whole, the program aims to increase awareness of Microsoft products, programs and initiatives. Consequently, the program helps expanding the user base of Microsoft products, and results in better availability of properly educated workforce in those technologies.</p>
<p><strong>Membership<br />
</strong><br />
The MSP program is active around the world to college and university level students. Microsoft chooses few skilled students from each institution at a time to serve as representatives. Typically, a Microsoft Student Partner is science major from engineering or business school of higher education.</p>
<p>Microsoft offers compensation to the members of the Student Partners program through salaries (in some countries only) and various software and hardware packages which are distributed to them for testing and promotional purposes. Student Partners are also given access to MSDN Premium Subscriptions to support their promotional activities. At times, Student Partners are invited to technology-related conferences.</p>
<p>The candidate students should be evaluated on the following attributes:</p>
<p><strong>1</strong>- Technical Expertise A strong understanding of the overall set of Microsoft Visual languages and the .NET Framework is preferred, along with specific demonstrable skills in one or more languages or technologies. Students skilled in multiple platforms, languages, and technologies are especially encouraged to join the program.</p>
<p><strong>2</strong>- Be a Campus Leader Nominees should be actively involved in student technical clubs, societies, and organizations, preferably in leadership roles.</p>
<p><strong>3</strong>- Be an Active Part of the Online Community Nominees should be actively involved in online communities, academic or professional. Examples include blogs, newsgroups, forums, online clubs, and related.</p>
<p><strong>4</strong>- Embrace New Technology Nominees should eagerly seek out new technologies, explore them, and share that experience and knowledge gained with fellow students and faculty.</p>
<p><strong>5</strong>- Work Well with Faculty Nominees should be well regarded by faculty within your department and across campus.</p>
<p><strong>6</strong>- Keep an Outgoing Personality and Mature Attitude Nominees should have an outgoing personality in public situations. They should also have a positive, mature attitude towards responding to criticism and engaging in debate.</p>
<p><strong>Activities<br />
</strong><br />
Student Partners are given access to the latest Microsoft software, development tools, reference material, industry events, and training opportunities. MSPs are assumed to further share the knowledge among the academic community by arranging courses; giving presentations and lectures; and initiating projects among the students. MSPs are also used to promote incentives, for example, the Microsoft Imagine Cup; and programs, such as the Ultimate Steal and its affiliate program. Some Student Partners (based on a selection criteria) are provided internships and job opportunities at few Microsoft Divisions through the program.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/12/28/first-msp-of-afghanistan/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to get data which is added between hours in MySQL?</title>
		<link>http://jamshidhashimi.com/2011/12/26/how-to-get-data-which-is-added-between-hours-in-mysql/</link>
		<comments>http://jamshidhashimi.com/2011/12/26/how-to-get-data-which-is-added-between-hours-in-mysql/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 07:13:40 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql hour]]></category>
		<category><![CDATA[mysql time]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=541</guid>
		<description><![CDATA[SELECT * FROM TABLE WHERE HOUR(time) BETWEEN 1 AND 2; This query brings all records between 1 and 2 o&#8217;clock according to time field of you table. (time = The DB field which you save the time)]]></description>
			<content:encoded><![CDATA[<pre class="brush:sql">SELECT * FROM TABLE WHERE HOUR(time) BETWEEN 1 AND 2;</pre>
<p>This query brings all records between 1 and 2 o&#8217;clock according to time field of you table. (time = The DB field which you save the time)</p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/12/26/how-to-get-data-which-is-added-between-hours-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to create directory /home/jamshidh/public_html/wp-content. Is its parent directory writable by the server?</title>
		<link>http://jamshidhashimi.com/2011/12/22/unable-to-create-directory-homejamshidhpublic_htmlwp-content-is-its-parent-directory-writable-by-the-server/</link>
		<comments>http://jamshidhashimi.com/2011/12/22/unable-to-create-directory-homejamshidhpublic_htmlwp-content-is-its-parent-directory-writable-by-the-server/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 09:47:22 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[upload error]]></category>
		<category><![CDATA[wordpress media error]]></category>
		<category><![CDATA[wp upload error]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=526</guid>
		<description><![CDATA[I recently had a problem regarding this issue in my blog (WordPress 3.3). The problem occured when I wanted to upload an image to one of posts. When trying to upload the image, the following error occured: Unable to create directory /home/jamshidh/public_html/wp-content. Is its parent directory writable by the server? After some searchs regarding this [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a problem regarding this issue in my blog (WordPress 3.3). The problem occured when I wanted to upload an image to one of posts.</p>
<p>When trying to upload the image, the following error occured:</p>
<p>Unable to create directory /home/jamshidh/public_html/wp-content. Is its parent directory writable by the server?</p>
<p>After some searchs regarding this problem. I find the solution as following:</p>
<p>1) Creating a folder named &#8220;uploads&#8221; in the wp-content folder and make the permission of this file to 777 (If you already have this folder, please check if you give the proper right of 777 to this folder)<br />
2)wp-admin-&gt;settings-&gt;media-&gt;Uploading Files-&gt;Store uploads in this folder and change this part to: wp-content/uploads</p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/12/22/unable-to-create-directory-homejamshidhpublic_htmlwp-content-is-its-parent-directory-writable-by-the-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to detect HTTPS SSL</title>
		<link>http://jamshidhashimi.com/2011/10/03/how-to-detect-https-ssl/</link>
		<comments>http://jamshidhashimi.com/2011/10/03/how-to-detect-https-ssl/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 05:30:31 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[detect https]]></category>
		<category><![CDATA[detect ssl]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[php https]]></category>
		<category><![CDATA[php ssl]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=517</guid>
		<description><![CDATA[You can detect HTTPS with the code line below in PHP if (!isset($_SERVER['HTTPS']) &#124;&#124; $_SERVER['HTTPS'] != 'on') { //Your code here }]]></description>
			<content:encoded><![CDATA[<p>You can detect HTTPS with the code line below in PHP</p>
<pre class="brush:php">if (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != 'on')
{
     //Your code here
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/10/03/how-to-detect-https-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explode Date</title>
		<link>http://jamshidhashimi.com/2011/06/21/explode-date/</link>
		<comments>http://jamshidhashimi.com/2011/06/21/explode-date/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 04:45:08 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[date convert]]></category>
		<category><![CDATA[php date explode]]></category>
		<category><![CDATA[php explode]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=497</guid>
		<description><![CDATA[A good block of code to explode date into parts. This is a very simple few lines of code to display dates that arrive in various formats: $dateArray=explode('-','2011-02-05'); // $dateArray[0]= 2011 // $dateArray[1] = 02 // $dateArray[2] = 05 echo date('M j, Y', mktime(0, 0, 0, $dateArray[1], $dateArray[2], $dateArray[0])); // result: Feb 2, 2011]]></description>
			<content:encoded><![CDATA[<p>A good block of code to explode date into parts.</p>
<pre class="brush:php">    This is a very simple few lines of code to display dates that arrive in various formats:

    $dateArray=explode('-','2011-02-05');

    // $dateArray[0]= 2011
    // $dateArray[1] = 02
    // $dateArray[2] = 05

    echo date('M j, Y', mktime(0, 0, 0, $dateArray[1], $dateArray[2], $dateArray[0]));

    // result: Feb 2, 2011</pre>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/06/21/explode-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image upload with Codeigniter</title>
		<link>http://jamshidhashimi.com/2011/06/14/image-upload-with-codeigniter-2/</link>
		<comments>http://jamshidhashimi.com/2011/06/14/image-upload-with-codeigniter-2/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 06:48:27 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter example]]></category>
		<category><![CDATA[codeigniter image upload]]></category>
		<category><![CDATA[image upload php]]></category>
		<category><![CDATA[image uploiad script php]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=493</guid>
		<description><![CDATA[1) Create upload.php file inside controller, copy and past the following code into. Also create an &#8216;uploads&#8217; folder inside the codeigniter root folder. &#60;?php //Author: Jamshid HASHIMI class Upload extends CI_Controller { function __construct() { parent::__construct(); $this-&#62;load-&#62;helper('form'); $this-&#62;load-&#62;helper('url'); } function index() { $this-&#62;load-&#62;view('upload_view'); } //Upload Image function function uploadImage() { $config['upload_path'] = "uploads/"; $config['allowed_types'] = [...]]]></description>
			<content:encoded><![CDATA[<p>1) Create upload.php file inside controller, copy and past the following code into. Also create an &#8216;uploads&#8217; folder inside the codeigniter root folder.</p>
<pre class="brush:php">&lt;?php

//Author: Jamshid HASHIMI

  class Upload extends CI_Controller

  {

    function __construct()

    {

        parent::__construct();

        $this-&gt;load-&gt;helper('form');

        $this-&gt;load-&gt;helper('url');

    }  

    function index()

    {

        $this-&gt;load-&gt;view('upload_view');

    }

    //Upload Image function

    function uploadImage()

    {

       $config['upload_path']   =   "uploads/";

       $config['allowed_types'] =   "gif|jpg|jpeg|png"; 

       $config['max_size']      =   "5000";

       $config['max_width']     =   "1907";

       $config['max_height']    =   "1280";

       $this-&gt;load-&gt;library('upload',$config);

       if(!$this-&gt;upload-&gt;do_upload())

       {

           echo $this-&gt;upload-&gt;display_error();

       }

       else

       {

           $finfo=$this-&gt;upload-&gt;data();

           $this-&gt;_createThumbnail($finfo['file_name']);

           $data['uploadInfo'] = $finfo;

           $data['thumbnail_name'] = $finfo['raw_name']. '_thumb' .$finfo['file_ext']; 

           $this-&gt;load-&gt;view('upload_success',$data);

           // You can view content of the $finfo with the code block below

           /*echo '&lt;pre&gt;';

           print_r($finfo);

           echo '&lt;/pre&gt;';*/

       }

    }

    //Create Thumbnail function

    function _createThumbnail($filename)

    {

        $config['image_library']    = "gd2";      

        $config['source_image']     = "uploads/" .$filename;      

        $config['create_thumb']     = TRUE;      

        $config['maintain_ratio']   = TRUE;      

        $config['width'] = "80";      

        $config['height'] = "80";

        $this-&gt;load-&gt;library('image_lib',$config);

        if(!$this-&gt;image_lib-&gt;resize())

        {

            echo $this-&gt;image_lib-&gt;display_errors();

        }      

    }

  }

?&gt;</pre>
<p>2) Create the upload_view and upload_success files inside view folder and insert the below codes into<br />
upload_view</p>
<pre class="brush:php">&lt;html&gt;

&lt;head&gt;

&lt;title&gt; Image Upload &lt;/title&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div id="container"&gt;

&lt;?php echo  form_open_multipart('upload/uploadImage')?&gt;

&lt;input type="file" name="userfile" /&gt;

&lt;p&gt;&lt;input type="submit" name="submit" value="submit" /&gt;&lt;/p&gt;

&lt;?php echo form_close();?&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;

 upload_success
&lt;html&gt;

&lt;head&gt;

&lt;title&gt; Image Upload &lt;/title&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div id="container"&gt;

&lt;dl&gt;

    &lt;dt&gt;

        File Name:

    &lt;/dt&gt;

    &lt;dd&gt;

        &lt;?php echo $uploadInfo['file_name'];?&gt;

    &lt;/dd&gt;

    &lt;dt&gt;

        File Size:

    &lt;/dt&gt;

    &lt;dd&gt;

        &lt;?php echo $uploadInfo['file_size'];?&gt;

    &lt;/dd&gt;

    &lt;dt&gt;

        File Extension:

    &lt;/dt&gt;

    &lt;dd&gt;

        &lt;?php echo $uploadInfo['file_ext'];?&gt;

    &lt;/dd&gt;

    &lt;br /&gt;

    &lt;p&gt;The Image:&lt;/p&gt;

    &lt;img alt="Your uploaded image" src="&lt;?=base_url(). 'uploads/' . $uploadInfo['file_name'];?&gt;"&gt; 

    &lt;p&gt;The Image:&lt;/p&gt; 

    &lt;img alt="Your Thumbnail image" src="&lt;?=base_url(). 'uploads/' . $thumbnail_name;?&gt;"&gt;  

&lt;/dl&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
<p>If you have any question regarding the codes above, you can ask as a comment. I will be here to answer your questions</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/06/14/image-upload-with-codeigniter-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with stars :)</title>
		<link>http://jamshidhashimi.com/2011/06/12/fun-with-stars/</link>
		<comments>http://jamshidhashimi.com/2011/06/12/fun-with-stars/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 10:22:38 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[IT Support]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[fun with stars]]></category>
		<category><![CDATA[output stars]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=486</guid>
		<description><![CDATA[Today a friend ask to output the figure made up of stars. ***** **** *** ** * So this is my code. &#60;?php for ($i=5; $i&#62;0; $i--) { for ($j=$i;$j&#62;0; $j--) { echo "*"; } echo "&#60;br&#62;"; } ?&#62; Simple, easy, and funnnn ]]></description>
			<content:encoded><![CDATA[<p>Today a friend ask to output the figure made up of stars.</p>
<p>*****<br />
****<br />
***<br />
**<br />
*</p>
<p>So this is my code.</p>
<pre class="brush:php">&lt;?php
  for ($i=5; $i&gt;0; $i--)
  {
      for ($j=$i;$j&gt;0; $j--)
      {
          echo "*";
      }
      echo "&lt;br&gt;";
  }
?&gt;</pre>
<p>Simple, easy, and funnnn  <img src='http://jamshidhashimi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/06/12/fun-with-stars/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Separating numbers to digits</title>
		<link>http://jamshidhashimi.com/2011/06/12/separating-numbers-to-digits/</link>
		<comments>http://jamshidhashimi.com/2011/06/12/separating-numbers-to-digits/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 10:19:10 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[IT Support]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[digits]]></category>
		<category><![CDATA[numbers to digits]]></category>
		<category><![CDATA[separating numbers to digits]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=484</guid>
		<description><![CDATA[You can put any number instead of the one defined for $num and can get the true result &#60;?php $num = 123512341; resultgetir($num); function resultgetir ($num) { GLOBAL $yeni; for ($i=0; $i&#60;strlen($num)-1; $i++) { $resultZero.= strlen($num)*0; } $a = (1).$resultZero; $result = floor($num/$a); for ($i=0; $i&#60;strlen($num)-1; $i++) { $resulting.=strlen($num)*0; } echo $result.$resulting; echo "&#60;br&#62;"; $akhiri [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush:php">You can put any number instead of the one defined for $num and can get the true result

&lt;?php
$num = 123512341;
resultgetir($num);

function resultgetir ($num)
{
    GLOBAL $yeni;
    for ($i=0; $i&lt;strlen($num)-1; $i++)
    {
        $resultZero.= strlen($num)*0;
    }

    $a = (1).$resultZero;       

    $result = floor($num/$a);

    for ($i=0; $i&lt;strlen($num)-1; $i++)
    {
        $resulting.=strlen($num)*0;
    }

    echo  $result.$resulting;
    echo "&lt;br&gt;";
    $akhiri = $result.$resulting;

    $yeni = $num - $akhiri;
} 

for ($h=0; $h&lt;strlen($num)-1;$h++)
{
    if($yeni!=0)
    {
        resultgetir($yeni);
    }
}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/06/12/separating-numbers-to-digits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if a record exist in a specific table of database in MySQL</title>
		<link>http://jamshidhashimi.com/2011/06/04/check-if-a-record-exist-in-a-specific-table-of-database-in-mysql/</link>
		<comments>http://jamshidhashimi.com/2011/06/04/check-if-a-record-exist-in-a-specific-table-of-database-in-mysql/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 07:48:00 +0000</pubDate>
		<dc:creator>Jamshid Hashimi</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[check record]]></category>
		<category><![CDATA[check record in database]]></category>

		<guid isPermaLink="false">http://jamshidhashimi.com/?p=479</guid>
		<description><![CDATA[You can check if a record exist in a specific table of database in MySQL with the code block below: if(mysql_num_rows(mysql_query("SELECT * FROM reports WHERE reportID = '$reportNUM'"))){ // Code inside if block if reportID is already there }]]></description>
			<content:encoded><![CDATA[<p>You can check if a record exist in a specific table of database in MySQL with the code block below:</p>
<pre class="brush:php">if(mysql_num_rows(mysql_query("SELECT * FROM reports WHERE reportID = '$reportNUM'"))){
// Code inside if block if reportID is already there
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://jamshidhashimi.com/2011/06/04/check-if-a-record-exist-in-a-specific-table-of-database-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

