Posts

JS-Function

 < Beginner JS >< Function >< Variable >< Loop-If >< OOP > Syntax of a function function name(){} Exemple function showAdress)_{ document.write("Hello"); } Function calling showAdress(); Function and local variables Variable declared in the body of a function ...{var custAdress}... Argument - > passing an argument This means: providing an argument to a function function circleArea(radius){ var areas; area=radius*radius*3.14; document.write("area is: ",area); } circleArea(20.75); function with more than one argument function rectangleArea(length,height){ var area; area=length*height*3.14; document.write("area: ",area); } var length,height; length=52.05; height=46.55; rectangleArea(length,height); Argument with different types function rectangleArea(length,height,shape){ ....} length=2; height=4; shape="rectangle"; rectangleArea(length,height,shape); Returning a value .... return area; } producing a value and making...

JS-Variable

   < Beginner JS >< Function >< Variable > < Loop-If > < OOP > 1/ Variable <script> var FName=FirstName </script> Declaring a variable var FirstName var Adress,Phone,Email; You can declare: Natural numbers: Integer Decimal numbers: Double String: Text Assigning a value to a variable Salary=12 or var Salary=12 Display the value Document.write(Salary) Addition/Substraction/Multiplication/Division Document.write(125+40) Document.write(Salary+50) Negative Temp=-31 Function and local variables Variable declared in a body of a function ....{var custAdress}... Use Declared variable function showAdress(){ var custAdress custAdress="12 Hello" document.write(custAdress); } showAdress();

JS-beginner

 < Beginner JS >< Function >< Variable >< Loop-If >< OOP > 1/ General concepts Class It is a technique used to provide the criteria to define an object The list of items used to describe something Object It is the result of a description based on a class Method An action that an object can perform document.write("Jacques") document: Object write: method Jacques : Argument Properties It is the caracteristics used to describe an object. A property is created like a variable Method and their arguments It is a value that needs the method to work with to perform an action  protectRain(Reason) Argument  An item or value that a function needs.  It is provided between parenthesis Start and end <script> </script> or <script language="Javascript"> </script> Display string document.write("Jacques") 2/ Forms <form></form> Refering to a form document.CreditApplicationForm 2.1./ Text box <input type=...

PHP-Advanced

PHP Beginner PHP Array Loop Function Pre-Def variable Session Read Write File CRUD Advanced PHP PHP MySQL PHP MyAdmin PHP MySQL Notes Other course Python Beginner Intermediate Advanced Pro python-hosting React Links General JS PHP Programming Python C++ Stuff   < Beginner PHP >< Array >< Loop >< Function >< Pre-Def variable >< Session > < Read Write File > < CRUD > < Advanced PHP > < PHP MySQL PHP MyAdmin > < PHP MySQL Notes >   Object Oriented PHP Classes & Object...

php-CRUD

PHP Beginner PHP Array Loop Function Pre-Def variable Session Read Write File CRUD Advanced PHP PHP MySQL PHP MyAdmin PHP MySQL Notes Other course Python Beginner Intermediate Advanced Pro python-hosting React Links General JS PHP Programming Python C++ Stuff < Beginner PHP >< Array >< Loop >< Function >< Pre-Def variable >< Session >< Read Write File >< CRUD > < Advanced PHP > < PHP MySQL PHP MyAdmin > < PHP MySQL Notes >   Include & Require Allow for insertion of the co...

php-Session

PHP Beginner PHP Array Loop Function Pre-Def variable Session Read Write File CRUD Advanced PHP PHP MySQL PHP MyAdmin PHP MySQL Notes Other course Python Beginner Intermediate Advanced Pro python-hosting React Links General JS PHP Programming Python C++ Stuff < Beginner PHP >< Array >< Loop >< Function >< Pre-Def variable >< Session > < Read Write File > < CRUD > < Advanced PHP > < PHP MySQL PHP MyAdmin > < PHP MySQL Notes > < PHP MySQL Notes > $_SESSION With it you can sto...

php-Pre-Def variable

PHP Beginner PHP Array Loop Function Pre-Def variable Session Read Write File CRUD Advanced PHP PHP MySQL PHP MyAdmin PHP MySQL Notes Other course Python Beginner Intermediate Advanced Pro python-hosting React Links General JS PHP Programming Python C++ Stuff < Beginner PHP >< Array >< Loop >< Function >< Pre-Def variable >< Session > < Read Write File > < CRUD > < Advanced PHP > < PHP MySQL PHP MyAdmin > < PHP MySQL Notes > General A superglobal is a predef var, that is alwaysa ...