<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Thanks Damien, </div>
<div><br>
</div>
<div>That’s what I thought but wasn’t sure with PHP.  I’ll let my student know.  </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards, </div>
<div>Zach Alexakos</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>sofdev <<a href="mailto:sofdev-bounces@edulists.com.au">sofdev-bounces@edulists.com.au</a>> on behalf of "ATKINSON-BUCK, Damien" <<a href="mailto:Damien.ATKINSON-BUCK@ivanhoe.com.au">Damien.ATKINSON-BUCK@ivanhoe.com.au</a>><br>
<span style="font-weight:bold">Reply-To: </span>Year 12 Software Development Teachers' Mailing List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Date: </span>Friday, 2 March 2018 at 13:36<br>
<span style="font-weight:bold">To: </span>Year 12 Software Development Teachers' Mailing List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Year 12 SofDev] PHP Question<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Zach,<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I thought that’s all there was to it, it’s been a few years since I’ve done php – check
 out </span></span><a href="https://www.homeandlearn.co.uk/php/php2p8.html"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">https://www.homeandlearn.co.uk/php/php2p8.html</span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Damien<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></span></p>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><b><span style="font-family:"Arial",sans-serif;color:#82002C">Damien Atkinson-Buck</span></b></span><span style="mso-bookmark:_MailEndCompose"><span style="font-family:"Arial",sans-serif;color:#1F497D"> </span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><br>
</span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#766A65">Member of Academic Staff (Secondary).</span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"> 
<o:p></o:p></span></span></p>
<span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span>
<table class="MsoNormalTable" border="0" cellpadding="0" width="0" style="width:471.75pt">
<tbody>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"></span><a href="http://" target="''"><span style="mso-bookmark:_MailEndCompose"><span style="text-decoration:none"><img border="0" width="557" height="6" style="width:5.802in;height:.0625in" id="_x0000_i1028" src="cid:image001.jpg@01D3B22B.70BBA580"></span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt 22.5pt .75pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"></span><a href="http://www.ivanhoe.com.au/" target="''"><span style="mso-bookmark:_MailEndCompose"><span style="text-decoration:none"><img border="0" width="247" height="110" style="width:2.5729in;height:1.1458in" id="_x0000_i1027" src="cid:image002.png@01D3B22B.70BBA580" alt="http://www.ivanhoe.com.au"></span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
<td style="padding:.75pt .75pt .75pt 9.0pt"><span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span><span style="mso-bookmark:_MailEndCompose"></span>
<table class="MsoNormalTable" border="0" cellpadding="0" width="0" style="width:375.0pt;margin-left:7.5pt">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt 9.0pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#766A65">The Ridgeway, Ivanhoe VIC 3079 Australia</span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#766A65"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt 9.0pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#82002C">p.</span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#766A65">+61
 3 9490 3848</span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt 9.0pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#82002C">e.</span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#766A65"><a href="mailto:damien.atkinson-buck@ivanhoe.com.au">damien.atkinson-buck@ivanhoe.com.au</a></span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt 9.0pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#82002C">w.</span></span><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span></span><span style="mso-bookmark:_MailEndCompose"></span><a href="http://www.ivanhoe.com.au"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#766A65">www.ivanhoe.com.au</span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:3.0pt .75pt .75pt 7.5pt">
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"></span><a href="http://www.facebook.com/IvanhoeGrammarSchool" target="''"><span style="mso-bookmark:_MailEndCompose"><span style="text-decoration:none"><img border="0" width="28" height="28" style="width:.2916in;height:.2916in" id="_x0000_i1026" src="cid:image003.jpg@01D3B22B.70BBA580"></span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="font-family:"Arial",sans-serif;color:#1F497D"> </span></span><a href="http://twitter.com/ivanhoegrammar" target="''"><span style="mso-bookmark:_MailEndCompose"><span style="text-decoration:none"><img border="0" width="28" height="28" style="width:.2916in;height:.2916in" id="_x0000_i1025" src="cid:image004.jpg@01D3B22B.70BBA580"></span></span><span style="mso-bookmark:_MailEndCompose"></span></a><span style="mso-bookmark:_MailEndCompose"><span style="font-family:"Arial",sans-serif;color:#1F497D">  </span></span><span style="mso-bookmark:_MailEndCompose"><span style="color:#1F497D"><o:p></o:p></span></span></p>
</td>
</tr>
</tbody>
</table>
<span style="mso-bookmark:_MailEndCompose"></span></td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></span></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> sofdev [<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Alexakos, Zach Z<br>
<b>Sent:</b> Friday, 2 March 2018 12:53 PM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<b>Subject:</b> Re: [Year 12 SofDev] PHP Question<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi all,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I have a student question I need some help with. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">The question is to calculate the volume of a rectangular prism using a function and subroutine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">As we know Volume = Length * Width * Height<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">But the student is only able to multiply two values at a time (L *W),  then assign the answer to a third variable before multiplying
 again to find the volume.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">In Swift it’s as easy V = L * W * H
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">But in PHP?   Am I missing something?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Zach Alexakos<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="background:white;padding:.75pt .75pt .75pt .75pt">
<pre><span style="color:black">IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.<o:p></o:p></span></pre>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<br>
<br>
<br>
Privacy, Virus and Copyright Warning<br>
<br>
The information contained in this electronic message (e-mail), and any files transmitted with it:<br>
<br>
* is intended for the named recipients only. If you have received this in error, please advise the sender and delete it and any copies immediately;<br>
* Any personal information in this email must be used in accordance with the Privacy Act 1988 and this always applies even if it has been sent to you in error.<br>
* represents the views of the sender and does not necessarily represent the views or formal advice of Ivanhoe Grammar School;<br>
* may be subject to Copyright, so no further use should be made of it without the author's permission.<br>
<br>
The School does not represent or warrant that the email or any files attached do not contain errors or are free from computer viruses or other defects nor does it accept responsibility for any loss or damage resulting directly or indirectly from the use of
 the email or any attached files. </div>
</div>
</span>
</body>
</html>

<table><tr><td bgcolor=#ffffff><font color=#000000><pre>IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.</pre></font></td></tr></table>