LabMM4 (T12 - 12/13) - Estruturas de controlo
Upcoming SlideShare
Loading in...5
×
 

LabMM4 (T12 - 12/13) - Estruturas de controlo

on

  • 738 views

 

Statistics

Views

Total Views
738
Views on SlideShare
737
Embed Views
1

Actions

Likes
0
Downloads
58
Comments
0

1 Embed 1

http://campus.sapo.pt 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

LabMM4 (T12 - 12/13) - Estruturas de controlo LabMM4 (T12 - 12/13) - Estruturas de controlo Presentation Transcript

  • PHP: Estruturas de controloCarlos SantosLabMM 4 - NTC - DeCA - UAAula 12, 04-04-2013
  • Strings: diferença entre aspas e pelicasEm PHP as aspas e as pelicas podem ter resultados diferentes... • <?php $name = "Oliver"; $output = "Hello $name. This is one line.nAnd this is another line."; echo $output; ?> • no código fonte (source) da página HTML • Hello Oliver. This is one line. And this is another line.
  • Strings: diferença entre aspas e pelicasEm PHP as aspas e as pelicas podem ter resultados diferentes... • <?php print This string will $prt exactly as its n declared.; ?> • no código fonte da página HTML • This string will $prt exactly as its n declared.
  • Estruturas de controlohttp://www.php.net/manual/en/language.control-structures.php