PHP Questions, please
{
Other code
}
This one I've seen it a lot, but why is it so written? What do you mean? Please advise.
Share to: more
------Solution--------------------
I wrote it wrong.
------Solution--------------------
PHP HTML Mix
------Solution--------------------
This is quite normal, the middle of "other code" means other languages, not PHP code, such as Html,javascript, PHP interpreter will only explain The middle part, and "other code" is interpreted by the browser if it is HTML or JavaScript.
------Solution--------------------
The first line should be preceded by the You can not write it.
------Solution--------------------
Post all the code, if the function to write PHP short mark, as if there is a problem, even if the HTML PHP mixed, also does not conform to the rules.
------Solution--------------------
I wrote it wrong. A professional book, there will be typographical errors.
------Solution--------------------
You're out of context!
The function Displayheader has a public decoration, which is clearly in the class definition
There's a whole lot of code in front and back, and you're blind.
References:
Quote: References:
PHP HTML Mix
?>
Is this a normal notation? Isn't that right? Or a typographical error?
I just know it's written like this.
?>
------Solution--------------------
Php method Public Function
should be in PHP logo inside it!