Jump to content

Archived

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

jmad

Probably a really basic Question $opts array

Recommended Posts

jmad

What is the little box after $opts?

 

 

 

  1. $opts = array();
  2.  
  3. // Select Type Option Format
  4. $opts[] = array(
  5. 'key' => 'option_key', // (used to get the value of the option (e.g. $this->opt('some_key')))
  6. 'type' => 'text', // Option Type

Share this post


Link to post
Share on other sites
James B

Hi there, its not a box but two brackets [ ]. I think this replaces the array syntax as of PHP 5.4


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×