What do these PHP statements mean?

Updated on educate 2024-06-10
8 answers
  1. Anonymous users2024-02-11

    folie=new mysql;new (instantiates) a MySQL class and assigns a value to the variable $folie

    crazy=new myfunction;Similarly, instantiate the myfunction class and assign a value to the variable $crazy

    folie->link("");Call the link() method in the instantiated $folie class and pass an empty string!

    Hope it helps! Yes!

  2. Anonymous users2024-02-10

    folie=new mysql;Create a MySQL object named $folie

    crazy=new myfunction;Create a myfunction object with the name $crazy

    folie->link("");Let $folie connect according to the default parameters.

    I can only help you so much, because you're so little.

  3. Anonymous users2024-02-09

    The first sentence $folie=new mysql instantiates the mysql class and assigns a value to the variable $folie

    The second sentence $crazy=new myfunction is to instantiate the myfunction class and copy it to the variable $crazy

    The third sentence $folie->link("");folie is a mysql class instantiated, so $folie->link("");is the link() method in the referenced mysql class.

  4. Anonymous users2024-02-08

    Object-oriented haven't been studied?

  5. Anonymous users2024-02-07

    The page that is currently open is , because in general, the content in it is the content of the current directory

    Index is the "home page" in a general sense, that is, you will open a page after entering a domain name, basically the home page will not be displayed in the URL, but it is not absolute), the back PHP is "hypertext preprocessor", a scripting language, and asp, JSP is the same as the program used to deal with various things.

    Functionality:

    BBS is mostly used in large companies or small and medium-sized enterprises, open to customers to communicate with the platform, for newcomers to the network, BBS - is used to communicate on the network of the place, you can publish a theme, let everyone come together, you can also put forward a problem, we can solve together, etc., is a platform for language and culture sharing between people, with real-time and interactive.

    With the development of the times. The emergence of a new new humanity. At the same time, it also makes the forum a new type of word or some irregular words that spread rapidly, such as:

    Madara bamboo (moderator). Jar of water (irrigation), sofa (first replyer), bench (second replyer). Therefore, it is important to be careful when communicating and to avoid the spread of irregular words.

    Teaching. These forums are usually like instructional blogs. Or teaching**, the center is placed on the teaching and learning of a kind of knowledge, in the computer software and other technical industries, such a forum plays an important role, through the forum to browse the post, publish the post can quickly communicate and learn with many people on the Internet technology.

    Promotional forums.

    This type of forum is usually not very popular with netizens, because it was born to be a form of advertising, for a certain company, or a certain product to promote services, since 2005, such a form of forum has been established quickly.

    However, it is often difficult for such forums to have an attractive nature, and it is difficult to make great achievements in the nature of their publicity and promotion alone, so the life span of such forums is often very short, and the members of the forums are almost involuntarily composed of hired personnel.

    Local forums.

    The local forum is one of the most entertaining and interactive forums in the forum. Whether it is a local station in a large-scale forum or a professional local forum, there are very enthusiastic netizens, such as Changchun Tieba, Beijing Tieba or Tsinghua University Forum, FAW Company Forum, etc., local forums can bring people closer to each other at a greater distance.

    In addition, because it is a local forum, there are certain local restrictions on the netizens, and the people in the forum are more or less from the same place, so that there is a little bit of real security, and there is also a unique hazy sense of the Internet, so such forums are often welcomed by netizens.

    Communicative forums.

    The communicative forum is a broad category, such a forum focuses on the exchange and interaction between the members of the forum, so the content is also rich and diverse, there are supply and demand information, dating information, online and offline activity information, news, etc., such a forum is the general trend of the future development of the forum.

    The above content reference: Encyclopedia - Internet Forum

  6. Anonymous users2024-02-06

    1. Meaning of =>,-:

    It is the object execution.

    method or acquisition of attributes.

    It is applied to the key and value pairs in the array.

    2. Usage. 1. Usage of => The relationship between the key and value used in the array for the array, for example:

    a = array('0' => '1','2' => '4',);echo $a['0'];echo $a['2'];

    2. The methods and properties used to reference class instances in the usage class of -> e.g

    class testvar $var = 0;}$a = new test;

    The name of the instantiated object.

    echo $a->add();echo $a->var;

  7. Anonymous users2024-02-05

    PHP was originally an abbreviation for Personal Home Page and has been officially renamed"php: hypertext preprocessor"Abbreviation.

  8. Anonymous users2024-02-04

    $mydami is an instance of a class.

    query() is a method in the class.

    PHP Learning Exchange Jun Yang: 6oo427519

Related questions
16 answers2024-06-10

戂 pinyin: mí, strokes: 22

Radical: 忄 Wubi input method: >>>More

5 answers2024-06-10

1.Franco was dancing with Polly when he tripped up.

2.I didn't like swimming when I was a kid. >>>More

2 answers2024-06-10

CS is Counter-Strike.

Data Extension: >>>More

11 answers2024-06-10

is prepared to see your subsequent performance, and then decide whether you are suitable or not, so she leaves a lot of room for speech, on the one hand, she does not let you break your thoughts, and on the other hand, she does not give you a definite promise. There may be two kinds: one is to see if you can really be nice to her, or if it's worth choosing from a bunch of boys; The other is that she doesn't know you yet, doesn't know if she's a good fit for you, or isn't sure how she feels about you right now. >>>More

9 answers2024-06-10

Xinlei (Qing) Zhang Weiping.

Creation is silent but affectionate, and every time it is cold, it is born in spring. >>>More