Jump to content

[SOLVED] Dont understand... very simple


crashmaster

Recommended Posts

Hi, got an error

 

"Fatal error: Function name must be a string in C:\localhost\www\DNBSTEP\pages\lol.php on line 6"

 

lol.php:

 

    
$video_types = array('videos','tutorials');
$video_url_format = array('videos'=>'video','tutorials'=>'tutorial);

$type = 'videos';
echo $video_url_format($type);    //this is line 6

 

How to understand that ??

 

Thx for any help...

Link to comment
https://forums.phpfreaks.com/topic/155765-solved-dont-understand-very-simple/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.