Skip to main contentSkip to sidebarSkip to footer
F13.DEVFriday 13th development

PHP Loops

  • Home
  • WordPress Plugins
  • Projects
  • Programming Blog
  • Photography
  • Contact
  • LinkedIn (F13Dev)
  • GitHub (F13Dev)
  • WordPress (F13Dev)
  • X (F13Dev)
  • Instagram (F13Dev)
  • F13.DEV
  • Blog Archives

PHP Loops

Structure that forms many loops

Loops are used in programming to iterate over an item, either for a known or unknown amount of times, until a certain criteria has been reached.

You have the choice of writing a single loop and specifying how it ends and writing the same code over and over again to satisfy every iteration of the loop (this will only work if you know the number of times the loop will run). The choice is yours.

Read more

31 October 2021 by jim


AJAX basics – Switching static content

Minified Programming Code

Traditional web applications reload the whole page when clicking a link, modern web applications only reload the content that has changed.

As the web has matured, web applications often have a large amount of overhead; reloading every aspect of the page on each click including JavaScript and CSS vastly increases the overheads.

Read more

29 October 2021 by jim


Programming operations, using maths

Mathematics student

An important part of computer programming is implementing mathematic operations. Maths can be used to implement many functions in an application; be it to include functionality that is obviously maths related, or to implement functions that may not immediately appear, to the user, as a maths problem; such as calculating the window size to maintain the correct aspect ratio, or to calculate the width of a field that is to be half the width of the window.

Read more

13 July 2016 by jim


Table of Contents

  • Comments
Navigation
  • Home
  • WordPress Plugins
  • Projects
  • Programming Blog
  • Photography
  • Contact
  • LinkedIn (F13Dev)
  • GitHub (F13Dev)
  • WordPress (F13Dev)
  • X (F13Dev)
  • Instagram (F13Dev)
Social links
  • LinkedIn
  • GitHub
  • WordPress
  • X (twitter)
  • Instagram
  • CodersRank
Information

Code snippets are released under the GNU General Public Licence V3. Any software available for public download will contain a text version of the license of which the software is relased under.

Friday 13th Development
F13.Dev © James Valentine 2015 - 2025

Read our Privacy policy or Accessability statement.