kode
| From: | Mr. Bogomil Shopov | Date: | Thu, 17 Apr 2003 16:04:15 +0000 |
| Subject: | kode | ||
| References: | 1 | Groups: | php.general.bg |
| Request: | Send a blank email to general-bg+get-27@lists.php.net to get a copy of this message | ||
function SomeRead ($ID) {
require("file.inc");
if ($a[$ID]){
return $a[$ID];
} else {
return "Resource not available!";
}
}
kadeto
file.inc sadarja
$a=array(1=>'hello',2=>'world'); (sample)