Location: PHPKode > projects > Shell Providers Customer/Accounts DB > shelldb/process/ip_edit.php
<?php include("../includes/session.php");?>
<?php include("../includes/config.php"); ?>

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';


/* Process Script To Add Users to the database */

mysql_connect ($shelldb_host, $shelldb_user, $shelldb_pass);

mysql_select_db ($shelldb_db);

$insert = mysql_query ("UPDATE ip SET ip_num = '$ip_num', acc_id = '$acc_id'
						WHERE ip_id = '$ip_id'

	echo "There was a error", mysql_error();

echo "The IP ID Number is:-";
echo $ip_id;
echo '<A href="/index.php">Edit of IP Successfull Click Here</A>';

Return current item: Shell Providers Customer/Accounts DB