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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

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

  • 379 views
Published

 

Published in Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
379
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
59
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PHP: Estruturas de controloCarlos SantosLabMM 4 - NTC - DeCA - UAAula 12, 04-04-2013
  • 2. 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.
  • 3. 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.
  • 4. Estruturas de controlohttp://www.php.net/manual/en/language.control-structures.php