<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Check Record on Jamshid Hashimi</title><link>https://jamshidhashimi.com/tags/check-record/</link><description>Recent content in Check Record on Jamshid Hashimi</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 04 Jun 2011 09:48:00 +0000</lastBuildDate><atom:link href="https://jamshidhashimi.com/tags/check-record/rss.xml" rel="self" type="application/rss+xml"/><item><title>Check if a record exist in a specific table of database in MySQL</title><link>https://jamshidhashimi.com/check-if-a-record-exist-in-a-specific-table-of-database-in-mysql/</link><pubDate>Sat, 04 Jun 2011 09:48:00 +0000</pubDate><guid>https://jamshidhashimi.com/check-if-a-record-exist-in-a-specific-table-of-database-in-mysql/</guid><description>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(&amp;#34;SELECT * FROM reports WHERE reportID = &amp;#39;$reportNUM&amp;#39;&amp;#34;))){// Code inside if block if reportID is already there}</description></item></channel></rss>