File "size_price.php"

Full Path: /home/magicrsz/public_html/actions/size_price.php
File size: 295 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
session_start();
include "../admin/database.php" ;

$user_id=NULL;

$user_id=session_id(); 

$id=$_POST['id'];

$query = "SELECT * from sizes where id='$id'";
$size = db::getRecord($query);

if($size){
    
    $getprice=$size['price'];
    
    echo $getprice;
}
?>