You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
479 B
PHP
26 lines
479 B
PHP
<?PHP
|
|
// löscht alle eintrag in der telefonanlage, indem jede nummer einzähln gelöscht wir (#10<NUMBER>)
|
|
|
|
include ("../includes/db.php");
|
|
include ("../includes/config.php");
|
|
include ("../includes/funktion_modem.php");
|
|
|
|
|
|
$SQL = "SELECT DECT FROM `User`;";
|
|
|
|
$Erg = mysql_query($SQL, $con);
|
|
|
|
echo mysql_error($con);
|
|
|
|
for( $i=0; $i<mysql_num_rows($Erg); $i++)
|
|
{
|
|
$Number = "#10". mysql_result($Erg, $i, "DECT");
|
|
if( strlen($Number)==7)
|
|
DialNumber( $Number);
|
|
}
|
|
|
|
return 0;
|
|
|
|
?>
|
|
|