note 62623 deleted from function.array-search by betz
| From: | betz@php.net | Date: | Sun, 05 Mar 2006 19:04:59 +0000 |
| Subject: | note 62623 deleted from function.array-search by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104858@lists.php.net to get a copy of this message | ||
Note Submitter: radek at wp dot pl
Reason: bad code
----
Good include:
<?
$tablica = array('newsy', 'download', 'linki', 'costam');
$x = array_search($_GET["act"], $tablica);
include $tablica[$x].'.php';
?>