Miscellany
public text v1 · immutable<?php
include 'config.php';
include 'opendb.php';
if(!session_id()) session_start();
$username = $_SESSION['username'];
$result = mysql_query("SELECT * FROM contact WHERE username='$username'");
while($starttime = mysql_fetch_array($result)) {
echo $starttime[0]; //this gets the first column in that row. [1] is 2nd column, [2] is third, etc.
}
include 'closedb.php';
?>