SlideShare ist ein Scribd-Unternehmen logo
1 von 26
PHP starter ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Wouter van der Ploeg, CMD, 2010
PHP starter ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Wouter van der Ploeg, CMD, 2010
PHP starter every php program  <?php   //start // body ?>  //end Wouter van der Ploeg, CMD, 2010
PHP example 1 <html>  <head>  <title>PHP Test</title>  </head>  <body>  <?php echo '<p>Hello World</p>'; ?>  </body>  </html> Output: Wouter van der Ploeg, CMD, 2010
PHP example 2 <?php  echo '<p>Hello World</p>';  ?>  Output: Wouter van der Ploeg, CMD, 2010 ,[object Object],[object Object],[object Object],[object Object]
PHP example 3 <?php  phpinfo();  ?>   Output: Wouter van der Ploeg, CMD, 2010
PHP starter - function <?php phpinfo();  ?> Wouter van der Ploeg, CMD, 2010 function call
PHP starter - variable <?php $number = 2; $text = 'voorbeeld'; echo $text; echo $number;  ?> Wouter van der Ploeg, CMD, 2010 variable value show value of $text  Output ?
PHP starter - variable <?php $num1 = 3; $num2 = 7; echo $num1+$num2; echo $num1*$num2;  ?> Wouter van der Ploeg, CMD, 2010 Output ?
PHP starter - variable <?php $num1 = 3; $num2 = 7; echo 'the sum is: '; echo $num1+$num2; echo '<br />'; echo 'the product is: '; echo $num1*$num2;  ?> Wouter van der Ploeg, CMD, 2010 Output ?
PHP starter - array <?php $nums = array(1,2,3,4,5,6,7,8); print_r($nums);  ?> Wouter van der Ploeg, CMD, 2010 Output ?
PHP starter - array Wouter van der Ploeg, CMD, 2010 Output: Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 ) value index
PHP starter - for-loop Wouter van der Ploeg, CMD, 2010 Output ? for-loop block for ($tel = 1; $tel <=10; $tel++) {  echo $tel*$tel, ' ';  }   start end count
PHP starter - for-loop - sum Wouter van der Ploeg, CMD, 2010 Output ? $sum =0;  for ($tel = 1; $tel <=10; $tel++) {  $sum = $sum + $tel; }  echo 'total sum =',$sum;
PHP starter - for-loop & array Wouter van der Ploeg, CMD, 2010 Output ? $nameArray = array('jan', 'kees', 'pieter', 'klaas', 'gerben'); for ($tel = 0; $tel <=4; $tel++) {  echo $nameArray[$tel];  }
PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? <?php $number = 4; if ($number > 3) { echo $number, 'is larger then 3'; }   ?>
PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? <?php $number = 4; if ($number > 3) { echo $number, 'is larger then 3'; }  elseif ($number < 3)  { echo $number, ' is smaller then 3'; }  else  { echo $number, ' is equal to 3'; } ?>
PHP starter - for-loop - if Wouter van der Ploeg, CMD, 2010 Output ? for ($tel = 1; $tel <=10; $tel++) {  if ($tel % 2 == 0) { echo $tel*$tel, ' '; }  }
PHP starter - for-loop - if Wouter van der Ploeg, CMD, 2010 Output ? function even($num)  { if ($num % 2 == 0) return true; else return false;  }  for ($tel = 1; $tel <=10; $tel++) {  if (even($tel)) { echo $tel*$tel, ' '; }  }
PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? $nameArray = array('jan', 'kees', 'pieter', 'klaas', 'gerben'); for ($tel = 0; $tel <=4; $tel++) {  $naam = $nameArray[$tel]; if (substr($naam, 0, 1) == 'k') { echo $nameArray[$tel]; };   }
PHP starter - assignments Wouter van der Ploeg, CMD, 2010 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
GWT Google Web Toolkit how to program for all browsers Wouter van der Ploeg, CMD, 2010
[object Object],Wouter van der Ploeg, CMD, 2010
[object Object],Wouter van der Ploeg, CMD, 2010
[object Object],Wouter van der Ploeg, CMD, 2010
GWT installation Wouter van der Ploeg, CMD, 2010 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Anatomy of a PHP Request ( UTOSC 2010 )
Anatomy of a PHP Request ( UTOSC 2010 )Anatomy of a PHP Request ( UTOSC 2010 )
Anatomy of a PHP Request ( UTOSC 2010 )Joseph Scott
 
Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))Alex Penso Romero
 
What's New in PHP 5.5
What's New in PHP 5.5What's New in PHP 5.5
What's New in PHP 5.5Corey Ballou
 
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008phpbarcelona
 
Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011Wim Godden
 
The why and how of moving to PHP 5.5/5.6
The why and how of moving to PHP 5.5/5.6The why and how of moving to PHP 5.5/5.6
The why and how of moving to PHP 5.5/5.6Wim Godden
 
Php7 HHVM and co
Php7 HHVM and coPhp7 HHVM and co
Php7 HHVM and coweltling
 
Going Loopy: Adventures in Iteration with Go
Going Loopy: Adventures in Iteration with GoGoing Loopy: Adventures in Iteration with Go
Going Loopy: Adventures in Iteration with GoEleanor McHugh
 
An introduction to PHP 5.4
An introduction to PHP 5.4An introduction to PHP 5.4
An introduction to PHP 5.4Giovanni Derks
 
The why and how of moving to PHP 5.4/5.5
The why and how of moving to PHP 5.4/5.5The why and how of moving to PHP 5.4/5.5
The why and how of moving to PHP 5.4/5.5Wim Godden
 
Go for the paranoid network programmer
Go for the paranoid network programmerGo for the paranoid network programmer
Go for the paranoid network programmerEleanor McHugh
 
Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門lestrrat
 
The why and how of moving to php 5.4/5.5
The why and how of moving to php 5.4/5.5The why and how of moving to php 5.4/5.5
The why and how of moving to php 5.4/5.5Wim Godden
 
Quick tour of PHP from inside
Quick tour of PHP from insideQuick tour of PHP from inside
Quick tour of PHP from insidejulien pauli
 

Was ist angesagt? (20)

Отладка в GDB
Отладка в GDBОтладка в GDB
Отладка в GDB
 
Anatomy of a PHP Request ( UTOSC 2010 )
Anatomy of a PHP Request ( UTOSC 2010 )Anatomy of a PHP Request ( UTOSC 2010 )
Anatomy of a PHP Request ( UTOSC 2010 )
 
36 gotas de-sabiduria
36 gotas de-sabiduria36 gotas de-sabiduria
36 gotas de-sabiduria
 
Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))
 
What's New in PHP 5.5
What's New in PHP 5.5What's New in PHP 5.5
What's New in PHP 5.5
 
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008Xdebug - Derick Rethans - Barcelona PHP Conference 2008
Xdebug - Derick Rethans - Barcelona PHP Conference 2008
 
The new features of PHP 7
The new features of PHP 7The new features of PHP 7
The new features of PHP 7
 
Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011Caching and tuning fun for high scalability @ FrOSCon 2011
Caching and tuning fun for high scalability @ FrOSCon 2011
 
Perl IO
Perl IOPerl IO
Perl IO
 
The why and how of moving to PHP 5.5/5.6
The why and how of moving to PHP 5.5/5.6The why and how of moving to PHP 5.5/5.6
The why and how of moving to PHP 5.5/5.6
 
Php7 HHVM and co
Php7 HHVM and coPhp7 HHVM and co
Php7 HHVM and co
 
Vcs28
Vcs28Vcs28
Vcs28
 
Going Loopy: Adventures in Iteration with Go
Going Loopy: Adventures in Iteration with GoGoing Loopy: Adventures in Iteration with Go
Going Loopy: Adventures in Iteration with Go
 
An introduction to PHP 5.4
An introduction to PHP 5.4An introduction to PHP 5.4
An introduction to PHP 5.4
 
The why and how of moving to PHP 5.4/5.5
The why and how of moving to PHP 5.4/5.5The why and how of moving to PHP 5.4/5.5
The why and how of moving to PHP 5.4/5.5
 
Go for the paranoid network programmer
Go for the paranoid network programmerGo for the paranoid network programmer
Go for the paranoid network programmer
 
Buffer OverFlow
Buffer OverFlowBuffer OverFlow
Buffer OverFlow
 
Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門
 
The why and how of moving to php 5.4/5.5
The why and how of moving to php 5.4/5.5The why and how of moving to php 5.4/5.5
The why and how of moving to php 5.4/5.5
 
Quick tour of PHP from inside
Quick tour of PHP from insideQuick tour of PHP from inside
Quick tour of PHP from inside
 

Andere mochten auch

прикладные направления геохимии ландшафта квасникова з.н.
прикладные направления геохимии ландшафта квасникова з.н.прикладные направления геохимии ландшафта квасникова з.н.
прикладные направления геохимии ландшафта квасникова з.н.Zojkvasnikova
 
Gwt wouter
Gwt wouterGwt wouter
Gwt wouterWouter
 
Презентация Итог
Презентация ИтогПрезентация Итог
Презентация Итогbuddybearhostel123
 
Medical procedures
Medical proceduresMedical procedures
Medical procedurescromo14
 
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del Norte
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del NorteManifiesto para un gobierno local fuerte y eficaz. Irlanda del Norte
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del NorteRamón Galindo Noriega
 
phd switzerland - peugeot 308 driving experience - case study 2014
phd switzerland - peugeot 308 driving experience - case study 2014phd switzerland - peugeot 308 driving experience - case study 2014
phd switzerland - peugeot 308 driving experience - case study 2014Nicolas Noth
 
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better Floor
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better FloorPoultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better Floor
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better FloorNATURAL REMEDIES PVT. LTD.
 
Staunton Performing Arts Slide Show
Staunton Performing Arts Slide ShowStaunton Performing Arts Slide Show
Staunton Performing Arts Slide Showjoannabergdoll
 
Endocrine system suffixes
Endocrine system suffixes  Endocrine system suffixes
Endocrine system suffixes cromo14
 
2.1 cell function by SAS
2.1   cell function by SAS2.1   cell function by SAS
2.1 cell function by SAScyberbat
 
понятие о геохимии ландшафта квасникова з.н.
понятие о геохимии ландшафта квасникова з.н.понятие о геохимии ландшафта квасникова з.н.
понятие о геохимии ландшафта квасникова з.н.Zojkvasnikova
 

Andere mochten auch (20)

прикладные направления геохимии ландшафта квасникова з.н.
прикладные направления геохимии ландшафта квасникова з.н.прикладные направления геохимии ландшафта квасникова з.н.
прикладные направления геохимии ландшафта квасникова з.н.
 
Gwt wouter
Gwt wouterGwt wouter
Gwt wouter
 
Sovereign racing
Sovereign racingSovereign racing
Sovereign racing
 
Frasco de woolf
Frasco de woolfFrasco de woolf
Frasco de woolf
 
Презентация Итог
Презентация ИтогПрезентация Итог
Презентация Итог
 
Oasy swater
Oasy swaterOasy swater
Oasy swater
 
Sp
SpSp
Sp
 
Medical procedures
Medical proceduresMedical procedures
Medical procedures
 
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del Norte
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del NorteManifiesto para un gobierno local fuerte y eficaz. Irlanda del Norte
Manifiesto para un gobierno local fuerte y eficaz. Irlanda del Norte
 
phd switzerland - peugeot 308 driving experience - case study 2014
phd switzerland - peugeot 308 driving experience - case study 2014phd switzerland - peugeot 308 driving experience - case study 2014
phd switzerland - peugeot 308 driving experience - case study 2014
 
Ландшафты
ЛандшафтыЛандшафты
Ландшафты
 
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better Floor
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better FloorPoultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better Floor
Poultry Insights (Jan-Mar - 2015) - Aim For The Sky From Better Floor
 
Pashudhan march 2016 curved
Pashudhan march 2016 curvedPashudhan march 2016 curved
Pashudhan march 2016 curved
 
Wgong 2012
Wgong 2012Wgong 2012
Wgong 2012
 
Ppv december 2015 curved
Ppv december 2015 curvedPpv december 2015 curved
Ppv december 2015 curved
 
Staunton Performing Arts Slide Show
Staunton Performing Arts Slide ShowStaunton Performing Arts Slide Show
Staunton Performing Arts Slide Show
 
Endocrine system suffixes
Endocrine system suffixes  Endocrine system suffixes
Endocrine system suffixes
 
2.1 cell function by SAS
2.1   cell function by SAS2.1   cell function by SAS
2.1 cell function by SAS
 
понятие о геохимии ландшафта квасникова з.н.
понятие о геохимии ландшафта квасникова з.н.понятие о геохимии ландшафта квасникова з.н.
понятие о геохимии ландшафта квасникова з.н.
 
Ppv february 2016 curved
Ppv february 2016 curvedPpv february 2016 curved
Ppv february 2016 curved
 

Ähnlich wie Gwt_Wouter1 (20)

What Is Php
What Is PhpWhat Is Php
What Is Php
 
Php Crash Course
Php Crash CoursePhp Crash Course
Php Crash Course
 
Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To Lamp
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter Scott
 
Php
PhpPhp
Php
 
Php 3 1
Php 3 1Php 3 1
Php 3 1
 
02 Php Vars Op Control Etc
02 Php Vars Op Control Etc02 Php Vars Op Control Etc
02 Php Vars Op Control Etc
 
Open Source Package PHP & MySQL
Open Source Package PHP & MySQLOpen Source Package PHP & MySQL
Open Source Package PHP & MySQL
 
Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9
 
PHP MySQL
PHP MySQLPHP MySQL
PHP MySQL
 
Php Training
Php TrainingPhp Training
Php Training
 
Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
 
The Basics Of Page Creation
The Basics Of Page CreationThe Basics Of Page Creation
The Basics Of Page Creation
 
Php mysql ppt
Php mysql pptPhp mysql ppt
Php mysql ppt
 
GettingStartedWithPHP
GettingStartedWithPHPGettingStartedWithPHP
GettingStartedWithPHP
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
Php Calling Operators
Php Calling OperatorsPhp Calling Operators
Php Calling Operators
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 

Kürzlich hochgeladen

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Kürzlich hochgeladen (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

Gwt_Wouter1

  • 1.
  • 2.
  • 3. PHP starter every php program <?php //start // body ?> //end Wouter van der Ploeg, CMD, 2010
  • 4. PHP example 1 <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> Output: Wouter van der Ploeg, CMD, 2010
  • 5.
  • 6. PHP example 3 <?php phpinfo(); ?> Output: Wouter van der Ploeg, CMD, 2010
  • 7. PHP starter - function <?php phpinfo(); ?> Wouter van der Ploeg, CMD, 2010 function call
  • 8. PHP starter - variable <?php $number = 2; $text = 'voorbeeld'; echo $text; echo $number; ?> Wouter van der Ploeg, CMD, 2010 variable value show value of $text Output ?
  • 9. PHP starter - variable <?php $num1 = 3; $num2 = 7; echo $num1+$num2; echo $num1*$num2; ?> Wouter van der Ploeg, CMD, 2010 Output ?
  • 10. PHP starter - variable <?php $num1 = 3; $num2 = 7; echo 'the sum is: '; echo $num1+$num2; echo '<br />'; echo 'the product is: '; echo $num1*$num2; ?> Wouter van der Ploeg, CMD, 2010 Output ?
  • 11. PHP starter - array <?php $nums = array(1,2,3,4,5,6,7,8); print_r($nums); ?> Wouter van der Ploeg, CMD, 2010 Output ?
  • 12. PHP starter - array Wouter van der Ploeg, CMD, 2010 Output: Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 ) value index
  • 13. PHP starter - for-loop Wouter van der Ploeg, CMD, 2010 Output ? for-loop block for ($tel = 1; $tel <=10; $tel++) { echo $tel*$tel, ' '; } start end count
  • 14. PHP starter - for-loop - sum Wouter van der Ploeg, CMD, 2010 Output ? $sum =0; for ($tel = 1; $tel <=10; $tel++) { $sum = $sum + $tel; } echo 'total sum =',$sum;
  • 15. PHP starter - for-loop & array Wouter van der Ploeg, CMD, 2010 Output ? $nameArray = array('jan', 'kees', 'pieter', 'klaas', 'gerben'); for ($tel = 0; $tel <=4; $tel++) { echo $nameArray[$tel]; }
  • 16. PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? <?php $number = 4; if ($number > 3) { echo $number, 'is larger then 3'; } ?>
  • 17. PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? <?php $number = 4; if ($number > 3) { echo $number, 'is larger then 3'; } elseif ($number < 3) { echo $number, ' is smaller then 3'; } else { echo $number, ' is equal to 3'; } ?>
  • 18. PHP starter - for-loop - if Wouter van der Ploeg, CMD, 2010 Output ? for ($tel = 1; $tel <=10; $tel++) { if ($tel % 2 == 0) { echo $tel*$tel, ' '; } }
  • 19. PHP starter - for-loop - if Wouter van der Ploeg, CMD, 2010 Output ? function even($num) { if ($num % 2 == 0) return true; else return false; } for ($tel = 1; $tel <=10; $tel++) { if (even($tel)) { echo $tel*$tel, ' '; } }
  • 20. PHP starter - if Wouter van der Ploeg, CMD, 2010 Output ? $nameArray = array('jan', 'kees', 'pieter', 'klaas', 'gerben'); for ($tel = 0; $tel <=4; $tel++) { $naam = $nameArray[$tel]; if (substr($naam, 0, 1) == 'k') { echo $nameArray[$tel]; }; }
  • 21.
  • 22. GWT Google Web Toolkit how to program for all browsers Wouter van der Ploeg, CMD, 2010
  • 23.
  • 24.
  • 25.
  • 26.