Código PHP:
include("validar.php");
include("conexion_bd.php");
$name=$_GET['pname'];
$pres=$_GET['presen'];
$cat=$_GET['cate'];
$bra=$_GET['brand'];
$consulta="Insert into ProductsM(ProductNAme, Presentation, Categoria, BrandId) values('$name','$pres','$cat','$bra')";
mssql_query($consulta) or die('Error al registrar los datos');
header("location: products.php");