Location: PHPKode > projects > OpenCabling > opencabling/delete_vlan.php
<?php

$vlanname_id=$_REQUEST['vlanname_id'];
$object=$_REQUEST['object'];

include "opendb.php";

$sql="delete from vlanports where vlanname_id='$vlanname_id'";
$query=mysql_query($sql,$mysql_conn);
$sql="delete from vlannames where vlanname_id='$vlanname_id'";
$query=mysql_query($sql,$mysql_conn);
echo "<script lang=javascript>opener.location.href = 'show_detail.php?object=$object'; window.close();</script>";


?>
Return current item: OpenCabling