Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jonny on
Hi,
In system.module about lines 635 to 678 I found several "$var][default_logo" statements in differnet form_ functions. I cant find any documentation or rules about '][' in the previous statement.
What does ][ means??
/Jonny
Comments
Arrays as form values
The code in system.module seems to be related to this common PHP technique:
http://us4.php.net/manual/en/faq.html.php#faq.html.arrays
The previous technigue does
The previous technigue does not say anything about ][ . It is a closing square bracket followed by an opening square bracket.
It must be an opening square bracket before a closing square bracket!! Or?
I am still confused!!
/Jonny
edit[]
The variable name is automatically put into edit[...] by the form_ functions.
--
If you have a problem, please search before posting a question.
Thank's, now is my problem
Thank's, now is my problem solved.
Sorry if I post a question too quickly.
I did lots of search but don't find anything.
/Jonny