
common php
Here is some of the common php things I use, and always have to look up: Loop through Mysql result in PHP: $result = mysqli_query($con,”SELECT * FROM Persons”); while($row = mysqli_fetch_array($result)) { echo $row[‘FirstName’] . ” ” . $row[‘LastName’]; echo ” “; } Date: $today = date(“F j, Y, g:i a”); // March 10, 2001, […]