02.03.2005, 14:35
hab mal weiter gemacht
[code=php]
$ver = mysql_connect($mysql_server, $mysql_user, $mysql_password);
mysql_select_db($mysql_database);
$result = mysql_query("SELECT * FROM tot_sendeplan WHERE `tag`='$tagnummer' AND `monat`='$monat' AND `jahr`='$jahr'");
while($a = mysql_fetch_array($result)) {
if($a["ende"] == "000"){
if($a["ende"] < $anfang){
$fehler "nein";
}else{
$fehler "ja";
}
[/code]
[code=php]
$ver = mysql_connect($mysql_server, $mysql_user, $mysql_password);
mysql_select_db($mysql_database);
$result = mysql_query("SELECT * FROM tot_sendeplan WHERE `tag`='$tagnummer' AND `monat`='$monat' AND `jahr`='$jahr'");
while($a = mysql_fetch_array($result)) {
if($a["ende"] == "000"){
if($a["ende"] < $anfang){
$fehler "nein";
}else{
$fehler "ja";
}
[/code]