summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/devconfigManual.php
diff options
context:
space:
mode:
authorTriatmoko2011-10-26 10:48:41 +0200
committerTriatmoko2011-10-26 10:48:41 +0200
commite205a0c5ae263e36481bf75ba6b91bff041ed3ac (patch)
treed63bc9a1abacd226885de3d5f37b34b17d151eb4 /For Weekly Test/tricode/devconfigManual.php
parentupdate devices (diff)
downloadgsm-selftest-e205a0c5ae263e36481bf75ba6b91bff041ed3ac.tar.gz
gsm-selftest-e205a0c5ae263e36481bf75ba6b91bff041ed3ac.tar.xz
gsm-selftest-e205a0c5ae263e36481bf75ba6b91bff041ed3ac.zip
dev conf
lease enter the commit message for your changes. Lines starting
Diffstat (limited to 'For Weekly Test/tricode/devconfigManual.php')
-rw-r--r--For Weekly Test/tricode/devconfigManual.php27
1 files changed, 2 insertions, 25 deletions
diff --git a/For Weekly Test/tricode/devconfigManual.php b/For Weekly Test/tricode/devconfigManual.php
index e12ebd8..bcb8eb5 100644
--- a/For Weekly Test/tricode/devconfigManual.php
+++ b/For Weekly Test/tricode/devconfigManual.php
@@ -1,9 +1,3 @@
-<?php
-
-$db = mysql_connect("localhost","root","randompasswordSQL");
-mysql_select_db("gsmselftesting",$db);
-?>
-
<html>
<head>
@@ -13,22 +7,7 @@ mysql_select_db("gsmselftesting",$db);
</head>
<body background="Images/BackGround.jpg">
-<?php
-$message='';
-if (isset($_REQUEST['Submit']))
- {
- $sql="UPDATE DeviceAddressTable SET portName = '$_POST[portname]', number = '$_POST[number]' WHERE deviceName = '$_POST[device]'";
- if($result = mysql_query($sql ,$db))
- {
- $message = '<font size="3" face="Century Gothic" color="LightGray"> UPDATE Device Succeed</font>';
- }
- else
- {
- echo "ERROR: ".mysql_error();
- }
- }
-else {
-?>
+
<!--<FORM name="testForm" form action="devconf.php" method="POST">-->
<table style="width:50%; margin:auto" border="0">
<tr>
@@ -71,9 +50,7 @@ else {
</table>
</tr>
</table>
-<?php
-}
-?>
+
</body>
</html>