0 Σχόλια
0 Μοιράστηκε
4χλμ. Views
0 Προεπισκόπηση
Αναζήτηση
Ανακάλυψε νέους ανθρώπους, δημιούργησε νέες συνδέσεις και κάνε καινούργιους φίλους
-
Παρακαλούμε συνδέσου στην Κοινότητά μας για να δηλώσεις τι σου αρέσει, να σχολιάσεις και να μοιραστείς με τους φίλους σου!
-
PHP VariablesVariables are "containers" for storing information. Creating (Declaring) PHP Variables In PHP, a variable starts with the $ sign, followed by the name of the variable: ExampleGet your own PHP Server $x = 5; $y = "John" Try it Yourself » In the example above, the variable $x will hold the value 5, and the variable $y will hold the...0 Σχόλια 0 Μοιράστηκε 2χλμ. Views 0 Προεπισκόπηση
-
PHP Variables ScopePHP Variables Scope In PHP, variables can be declared anywhere in the script. The scope of a variable is the part of the script where the variable can be referenced/used. PHP has three different variable scopes: local global static Global and Local Scope A variable declared outside a function has a GLOBAL SCOPE and can only be accessed outside a function: ExampleGet...0 Σχόλια 0 Μοιράστηκε 3χλμ. Views 0 Προεπισκόπηση
-
PHP - Escape CharactersEscape Character To insert characters that are illegal in a string, use an escape character. An escape character is a backslash \ followed by the character you want to insert. An example of an illegal character is a double quote inside a string that is surrounded by double quotes: ExampleGet your own PHP Server $x = "We are the so-called "Vikings" from the north."; Try it...0 Σχόλια 0 Μοιράστηκε 4χλμ. Views 0 Προεπισκόπηση
-
PHP echo and print StatementsWith PHP, there are two basic ways to get output: echo and print. In this tutorial we use echo or print in almost every example. So, this chapter contains a little more info about those two output statements. PHP echo and print Statements echo and print are more or less the same. They are both used to output data to the screen. The...0 Σχόλια 0 Μοιράστηκε 3χλμ. Views 0 Προεπισκόπηση