@CamiloVasquez mi hermano aya una consulta me sale este error
<?php
include ("config.php");
$t2=$_POST['txtanio'];
$t3=$_POST['txtanio'];
$t4=$_POST['txtFechaInicio'];
$t5=$_POST['txtfechafin'];
$t6=$_POST['txtdescripcion'];
$sql ="
EXEC AGE_Mantenimiento_AnioLectivo 1,'$t2','$t3','$t4','$t5','$t6'
";
$params = array('$t1','$t2','$t3','$t4','$t5','$t6');
$stmt = sqlsrv_query($conn, $sql, $params);
$row = sqlsrv_fetch_row($stmt))
?>