Date: Fri, 9 Aug 2002 18:32:49 -0500 From: vcardon <vcardon@siue.edu> To: Nathan Kinkade <nkinkade@dsl-only.net> Cc: MET <met@uberstats.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Off the Main Topic || Supplied argument is not a valid MySQL result resource Message-ID: <20020809233249.GC12081@spastic.siue.edu> In-Reply-To: <20020809090416.5a47f607.nkinkade@dsl-only.net> References: <001801c23fbc$879e5f60$6701a8c0@SURVIVAL> <20020809090416.5a47f607.nkinkade@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--c3bfwLpm8qysLVxt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 09, 2002 at 09:04:16AM -0700, Nathan Kinkade wrote: > On Fri, 9 Aug 2002 11:50:47 -0400 > "MET" <met@uberstats.com> wrote: > This may be my own lack of knowledge on PHP, but what is the "@" symbol > before your call to mysql_select_db? I'm not familiar with that > construct in PHP, only PERL, but again, it may just be that I don't know > PHP well enough. Also, are you sure that your query ($sqlm) is > returning any results? Try checking for a result set with > mysql_num_rows before fetching the result array. I see that you are > using the mysql_num_rows function at other places in your code. >=20 > Nathan >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message The '@' symbol suppresses PHP's built in error reporting so that you can add your own error messages. Victor --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9VFEhZU/bSegbOhwRAtwqAJ4vI20enKRTfrsUm7IgRSNh7zPbTgCgijZj DsThI/Gp8Ngz9Zh870pNemI= =/XeY -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809233249.GC12081>