Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0123_01C089FE.1A0AFC80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hallo ! habe ein problem mit einem kleinen program-teil:
$sql=3D"select * from $test[$zaehler] where =
$test1[$zaehler]=3D'$begriff'";
$result=3Dmysql_query($sql,$conn);
=20
=20
if (mysql_num_rows($result)>0)
wie binde ich das array richtig ein ???
bisher kam immer einer fehlermeldung f=FCr die letzte zeile die lautete:
Warning: Supplied argument is not a valid MySQL result resource=20
------=_NextPart_000_0123_01C089FE.1A0AFC80
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hallo ! habe ein problem mit einem =
kleinen=20
program-teil:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>$sql=3D"select * from $test[$zaehler] =
where=20
$test1[$zaehler]=3D'$begriff'";<BR> &n=
bsp; =20
$result=3Dmysql_query($sql,$conn);<BR>  =
; =20
<BR> =20
<BR> if=20
(mysql_num_rows($result)>0)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>wie binde ich das array richtig ein=20
???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>bisher kam immer einer fehlermeldung =
f=FCr die letzte=20
zeile die lautete:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><B>Warning</B>: Supplied argument is =
not a valid=20
MySQL result resource </FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0123_01C089FE.1A0AFC80--
php::bar PHP Wiki - Listenarchive