CodeIgniter Forums
newbie question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: newbie question (/showthread.php?tid=39437)



newbie question - El Forum - 03-10-2011

[eluser]Unknown[/eluser]
hello;

in the http://ellislab.com/codeigniter/user-guide/overview/at_a_glance.html article this code is posted:

Code:
<ul>

&lt;?php foreach ($addressbook as $name):?&gt;

<li>&lt;?=$name?&gt;</li>

&lt;?php endforeach; ?&gt;

</ul>

I'm confused about the colon after the parenthesis ... is it a php operator or is that a codeIgniter operator??

thanks.


newbie question - El Forum - 03-10-2011

[eluser]bubbafoley[/eluser]
php

http://php.net/manual/en/control-structures.alternative-syntax.php


newbie question - El Forum - 03-10-2011

[eluser]Unknown[/eluser]
aha thanks.