Defining Arrays
| From: | Thomas \"omega\" Henning | Date: | Sun, 13 Jan 2002 15:37:31 +0000 |
| Subject: | Defining Arrays | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15719@lists.php.net to get a copy of this message | ||
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