select($table,$fields,'maincategory_id','15',''); foreach ($category as $key => $val) { if (is_array($val)) { $subcat_id[] = $val['id']; } else { // Handle the case where $val is a string // You might want to log or handle this situation appropriately } } ?> Tasco
select_value($table,$fields,'id',$id,$cond); extract($project); */ include('classes/db_conn.php'); $id=$_GET['id']; $sql1 = "SELECT * FROM bpgr_projects where id='$id'"; $result1 = mysqli_query($link, $sql1); if (mysqli_num_rows($result1) > 0) { $row1 = mysqli_fetch_assoc($result1); } // $id=$row1['id']; ?>
 
tasco
 
 
 

projects

tasco  
   
   
MAIN CONTRACTOR:
MATERIAL:
SIZE:
LOCATION
FLOOR AREA
 
DESCRIPTION
 

PROJECT iMAGES

tasco   tasco   tasco  
     
tasco   tasco   tasco