How to reduce this code?

ShH

New Member
Is there any way to shorten this code:\[code\]$resultCategoryName = mysql_query("SELECT ecname FROM electioncategorymaster WHERE ecid=".$Category);$rowCategoryName = mysql_fetch_row($resultCategoryName);$CategoryName = $rowCategoryName[0];\[/code\]
 
Back
Top