Re: Good grief

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Good grief
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136116@lists.php.net to get a copy of this message
What is $list supposed to be? You probably want just $db and $table there. -Rasmus On Wed, 19 Feb 2003, John Taylor-Johnston wrote: > Yawn of frustration. > > $dbtable = "ccl.ccl_main"; > > list($db,$table) = explode(".",$dbtable); > echo > $dbtable.'<br>'.$list[$db].'<br>'.$list[$table].'<hr>'; > echo > $dbtable."<br>".$list[$db]."<br>".$list[$table]."<hr>"; > > I stumped :) > > $list[$db] shows nothing > $list[$table] shows nothing > > Ok, newbie time :( What's wrong? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#136116) next »