Thread: wierd output
View Single Post
Old 01-10-2003, 04:35 PM   #1 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
wierd output

Hey guys,

In PHP I made an array as follows

PHP Code:
<?php
$crew 
= array (
    
"Name"  => array ("Ilya"),
    
"age" => array (13),
    
"location"   => array ("San Diego, Ca")
);
 echo 
"$crew";
?>
When I test it, all that happens is it says "Array"
(without the quotes)

I was wondering why it does this and what is wrong with my array?

Thanks,

Ilya


P.S. Dont laugh at my code, i know it probably really buggy.

BTW. I googled on this for about 1 hour and even used the example from php.net and got the same results.
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote