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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to