8 lines
268 B
PHP
8 lines
268 B
PHP
|
|
<?php
|
||
|
|
$ctid = $_GET['ctid'];
|
||
|
|
$cid = $_GET['cid'];
|
||
|
|
$sql="DELETE CONTROL_TEST WHERE id='$ctid'";
|
||
|
|
$stmt = sqlsrv_query( $conn1, $sql );
|
||
|
|
if( $stmt == false) { die( print_r( sqlsrv_errors(), true) ); }
|
||
|
|
echo "<meta http-equiv='refresh' content='0;url=?p=ct&cid=$cid' />";
|
||
|
|
?>
|