function updatePackages(){ if(isset($_GET["id"])) { $rowId = mysql_real_escape_string(htmlentities($_GET["id"])); $sql = mysql_query("SELECT * FROM packages WHERE id='$rowId' LIMIT 1"); $countRow = mysql_num_rows($sql); if($countRow > 0){ echo "SOMETHING"; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)