|
@@ -19,7 +19,7 @@ $hostname = "localhost";
|
|
|
|
|
|
$dbhandle = mysql_connect ( $hostname, $username, $password ) or die ( "Unable to connect to MySQL" );
|
|
|
|
|
|
-$result = mysql_query ( "INSERT INTO `hostage`.`sync` (`bssid`, `ssid`, `longitude`, `latitude`, `timestamp`, `attacks`, `portscans`) VALUES " . $values );
|
|
|
+$result = mysql_query ( "INSERT INTO `hostage`.`sync` (`bssid`, `ssid`, `latitude`, `longitude`, `timestamp`, `attacks`, `portscans`) VALUES " . $values );
|
|
|
|
|
|
if (! $result) {
|
|
|
die ( 'Could not insert record: ' . mysql_error () );
|