Hello,
This is a reply to an e-mail that you wrote on Fri, 27 Jun 2003 at 12:10,
lines prefixed by '>' were originally written by you.
> I would off course like it even better when i was able to print to the
> values
> (word and number) in an HTML table structure, or each new word on a
> new line
Ernest, et al --
...and then Ernest E Vogelsinger said...
%
% At 10:44 06.03.2003, David T-G said:
% [snip]
% >...and then Leif K-Brooks said...
% >%
% >% print "$i :: {$manilist[$i][0]}\n";
% >Aha! Perfect. Here I'd been trying such things with the leadi
At 10:44 06.03.2003, David T-G said:
[snip]
>...and then Leif K-Brooks said...
>%
>% print "$i :: {$manilist[$i][0]}\n";
>Aha! Perfect. Here I'd been trying such things with the leading $ on
>the *outside* of the braces.
[snip]-
Leif, et al --
...and then Leif K-Brooks said...
%
% print "$i :: {$manilist[$i][0]}\n";
Aha! Perfect. Here I'd been trying such things with the leading $ on
the *outside* of the braces.
Thanks, all, for the help!
Back on the 'net after a great all-night storm (which in fact hasn't
stopped
print "$i :: {$manilist[$i][0]}\n";
David T-G wrote:
OK. That works, though it isn't pretty. Is there any way I can avoid
doing the dot dance? I'd rather something like
print "$i :: ${manilist[$i]}[0]\n" ;
(which I know to not work! :-) than to have to open and close; that's
just not very cl
Chris --
...and then Chris Wesley said...
%
% On Wed, 5 Mar 2003, David T-G wrote:
%
% > $m = count($manilist) ;
% > for ( $i=0 ; $i<$m ; $i++ )
% > { print "$i :: $manilist[$i][0]\n" ; }
...
%
% Actually, it's literally printing "[0]" after it prints "Array". PHP is
Right.
% detect
On Wed, 5 Mar 2003, David T-G wrote:
> $m = count($manilist) ;
> for ( $i=0 ; $i<$m ; $i++ )
> { print "$i :: $manilist[$i][0]\n" ; }
>
> I simply get 'Array[0]' out for each inner.. Clearly php is seeing that
> $manilist[$i] is an array, telling me so, and then happily printing the
> "[0
Thanks very much Nicholas,
Sean.
""Nicolas Guilhot"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can try to modify your SQL query and add the "DISTINCT" statement !!
It
> will return each distinct row only once.
>
> example "SELECT DISTINCT cat_id, ca
You can try to modify your SQL query and add the "DISTINCT" statement !! It
will return each distinct row only once.
example "SELECT DISTINCT cat_id, cat_name FROM categories"
Regards,
Nicolas
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 9 mai
9 matches
Mail list logo