Search results

  1. T

    How do you make a counter using a while loop in php?

    1. $Count is a number, while the array is called $Numbers. 2. $Count is never greater than 100, so you need to change that to a less than. 3. This code will give you 0-99, not 1-100. 4. Your output is inside of the array-filling while loop, so you'll get an output like 1, 1, 2, 1, 2, 3, 1, 2, 3...
  2. T

    Help with incorrect html coding?

    <script language="JavaScript"> var d = new Date(); var m = d.getMonth()+1; var y = d.getYear(); document.write('<link href="/Calendar/' + y + '/' + m + '.html">'); document.write('<a href="/Calendar/' + y + '/' + m + '.html">Click here</a>'); </script> The functions "getMonth" and "getYear"...
  3. T

    Help with incorrect html coding?

    <script language="JavaScript"> var d = new Date(); var m = d.getMonth()+1; var y = d.getYear(); document.write('<link href="/Calendar/' + y + '/' + m + '.html">'); document.write('<a href="/Calendar/' + y + '/' + m + '.html">Click here</a>'); </script> The functions "getMonth" and "getYear"...
Back
Top