//I have an array a[] like this:

<?php
    $a[]=0;

//How to define and use it in a function like this?

function myfunc(something)
{
    echo $a[0];  //got error here!!!! Notice: Undefined variable:

}

?>
//Thanks for any help.!!!



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

Reply via email to