• Home
  • About
  • C#
  • Java
  • Mathematics
  • PHP
  • Pixel Art
  • SQL
  • Unity
  • WordPress

Sticky Self Referencing Form

by Yahwho | Nov 1, 2020 | PHP

Instead of hard coding the name of a script use a superglobal reference. <form action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>” method=”post”>   <?php if (isset($_POST[‘submit’])) { $text =...

Recent Posts

  • Indexing in MySQL
  • Convert Milliseconds to Weeks, Days, Hours, Minutes, Seconds
  • Unity Day
  • Castle on a Hill
  • Database Cleanup Part II
  • Database Cleanup
  • MySQL Performance Tests
  • Voronoi Tessellation
  • Substitution Principle
  • Cursor Affordance
  • Short-circuit Operators
  • Resampled Simplex Noise
  • Experimenting with Simplex Noise in Java
  • Experimenting with Perlin Noise in Java
  • Logarithms – Exponential FormĀ and Logarithmic Form
  • Java Exclusive OR Operator
  • GitHub
  • George the Dwarf
  • 2D Animation Transitions
  • Add and Remove items from Windows 10 Start menu

Yahwho.org 1998 – 2022