Jump to content

Need help to understand syntax


laxi

Recommended Posts

Hello members,

 

can someone explain to me the syntax shown below?

 

This is a OOP extract.

 

I am confused in \""." for class. What is the role of  "\" in the highlighted code.

 

 

$this->spannextinactive = "<span class=\""."$this->inactivespanname\">$this->strnext</span>\n";

 

Please explain.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/282883-need-help-to-understand-syntax/
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.