Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>According to your code, you can try this. Though its not a standard way:</p> <pre><code>&lt;?php $yar = 4; while ($yar &lt;= 9) { $ax = 1; while ($ax &lt;= 31) { echo "$ax Jan 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Feb 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Mar 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Apr 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax May 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Jun 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Jul 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Aug 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Sep 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Oct 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Nov 200$yar &lt;br&gt;"; $ax++; } $ax = 1; while ($ax &lt;= 31) { echo "$ax Dec 200$yar &lt;br&gt;"; $ax++; } $yar++; } $yr = 10; while ($yr &lt;= 14) { $x = 1; while ($x &lt;= 31) { echo "$x Jan 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Feb 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Mar 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Apr 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x May 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Jun 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Jul 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Aug 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Sep 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Oct 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Nov 20$yr &lt;br&gt;"; $x++; } $x = 1; while ($x &lt;= 31) { echo "$x Dec 20$yr &lt;br&gt;"; $x++; } $yr++; } ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload