Re: frustrating problem

From: Date: Mon, 06 Jan 2003 21:36:33 +0000
Subject: Re: frustrating problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130492@lists.php.net to get a copy of this message
--- "Matthew K. Gold" <mgold1@gc.cuny.edu> wrote: > SELECT FooLName, FooPhone, FooEmail > FROM foo, foocontact > WHERE foocontact.FooID=$FooID and foo.FooID=$FooID; You might try this instead: select foolname, foophone, fooemail from foo, foocontact where foo.fooid='$fooid' and foo.fooid=foocontact.fooid Also, are you certain that $fooid is set? You might have to use $_GET["fooid"] if register_globals is not on. Chris

« previous php.general (#130492) next »