I'm trying to get the data from my database according to the certain id if the database.
Here is my code. But they are not working else
$selectquery,$resultsgetdata,$countprodu
<?php
$profrom = $_GET['id'];
$selectquery = "SELECT * FROM tbl_name WHERE proid = '$profrom'";
$resultsgetdata = mysql_query($selectquery);
$countprodu= mysql_num_rows($resultsgetdata);
if($countprodu>0)
{
$proidid = $row['proid'];
$proidName = $row['proName'];
$proidDescription = $row['proDescription'];
$Category = $row['proCategory'];
$Price = $row['Price'];
$Photo1name = $row['Photo1name'];
}
echo $proidid;
?>