Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_001F_01C116CB.1F6B9180
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hallo Liste,
=FCber folgendes Script wird die Schnittmenge einer Auswahl ermittelt:
if (count($info)) {
$weg_post =3D true;
$weg_mail =3D true;
$weg_tel =3D true;
$weg_gespr =3D true;
_(at)_reset($info);
while(list($key,$val)=3Deach($info)) {
$pids[]=3D$key;
$weg_post =3D $weg_post && $produkt_ap[$key][6];
$weg_mail =3D $weg_mail && $produkt_ap[$key][8];
$weg_tel =3D $weg_tel && $produkt_ap[$key][10];
$weg_gespr =3D $weg_gespr && $produkt_ap[$key][12];
}
$pids =3D implode("a", $pids);
}
Kann mir jemand sagen, wie ich das ins Gegenteil umwandel, d.h. Wenn es =
keine gemeinsame Schnittmenge gibt, soll eine Meldung erscheinen.
W=E4re nett, wenn jemand helfen kann.
Vielen Dank und Gru=DF=20
Ralf
------=_NextPart_000_001F_01C116CB.1F6B9180
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hallo Liste,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>=FCber folgendes Script wird die =
Schnittmenge einer=20
Auswahl ermittelt:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>if (count($info)) =
{<BR> =20
$weg_post =3D true;<BR> $weg_mail =3D=20
true;<BR> $weg_tel =3D =
true;<BR> =20
$weg_gespr =3D true;<BR> =
_(at)_reset($info);<BR> =20
while(list($key,$val)=3Deach($info)) {<BR> =
$pids[]=3D$key;<BR> $weg_post =3D=20
$weg_post &&=20
$produkt_ap[$key][6];<BR> $weg_mail =
=3D=20
$weg_mail &&=20
$produkt_ap[$key][8];<BR> =
$weg_tel =3D=20
$weg_tel &&=20
$produkt_ap[$key][10];<BR> $weg_gespr =3D =
$weg_gespr=20
&& $produkt_ap[$key][12];<BR> =
}<BR> =20
$pids =3D implode("a", $pids);<BR> }</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Kann mir jemand sagen, wie ich das ins =
Gegenteil=20
umwandel, d.h. Wenn es keine gemeinsame Schnittmenge gibt, soll eine =
Meldung=20
erscheinen.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>W=E4re nett, wenn jemand helfen =
kann.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Vielen Dank und Gru=DF </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ralf</FONT></DIV></BODY></HTML>
------=_NextPart_000_001F_01C116CB.1F6B9180--
php::bar PHP Wiki - Listenarchive