Re: Defining Arrays
| From: | Thomas \"omega\" Henning | Date: | Sun, 13 Jan 2002 16:08:21 +0000 |
| Subject: | Re: Defining Arrays | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15720@lists.php.net to get a copy of this message | ||
Something i forgot
when i echo("$denc[1]"); then it types Array out !!!
"Thomas "Omega" Henning" <tomi@mediasoft.ro> wrote in message
news:20020113153742.88846.qmail@pb1.pair.com...
> Hello,
>
> I'm curently working on an Encryption Bot for IRC that sends encrypted
> messages to other bots linked 2 it and users that are log into it.
> How i define an Array so i can use something like this
> <?
> $text="hello";
> for ($i=0;$i<strlen($text);$i++) {
> $denc[$i]=substr($text,$i,1);
> }
> echo("$denc[1]");
> ?>
> Theoraticly (in C++ point of view) that should print out "h".
> Any idias helps alot
>
> Thanks
>
> Thomas "omega" Henning
>
>
>