Loops shorthand?

i m new to programming but i was wondering what is shorthand for loops called i.e while ($page_query->have_posts()) : $page_query->the_post(); i know its boolean but what is it called and how can i learn this sort of loops.because i work with wordpress and they use these kind of loops a lot.

Alternative syntax? http://www.php.net/manual/it/control-structures.alternative-syntax.php

thanks that was a lot helpful! do u know any wordpress. i m stuck :rolleyes:

We have a CMS & Wordpress forum. If you ask your WP questions there, I’m sure someone will have the answer.

ok done.i hope someone do reply.