No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Why is this code note updating the database???? <?php include '../connection.php'; $today = new DateTime('2014-7-14 20:10:10'); $appt = new DateTime('2014-8-15 20:10:10'); $days_until_appt = $appt->diff($today)->days; if ($days_until_appt>=30) { $sql = "SELECT username FROM users WHERE position = 'Tenant'"; $result = mysql_query($sql) or die(mysql_error()); echo '<table align="center" border="1" cellpadding="0">'; echo '<tr align="center"><th> …
I need help to be able to credit tenants that are in my system after every 30 days of stay. Code in either PHP, AJAX, jQuery
<?php session_start(); $_SESSION['username'] = $_POST('username'); $_SESSION['password'] = $_POST('password'); $username = $_SESSION['username']; $password = $_SESSION['password']; ?>
The End.