Linux Monitor Processes Primer Tutorial (20140327)
$res = mysql_query("SELECT ID, post_date, post_title, guid, DATE_FORMAT(post_date,'%Y%m%d') As pdate FROM " . $tname . " WHERE post_status='publish' ORDER BY post_date DESC");
if ($res == 0) {
echo("Error " . mysql_errno() . ": " . mysql_error() . "");
} else if (mysql_num_rows($res) == 0) {
echo("Query executed successfully");
} else {
while (($r_array = mysql_fetch_row($res))) {
$retval .= "\n";
}
}
mysql_close($link);
echo " | * Full Name:
* Contact:
Date:
Time:
Place:
RJM Programming, Newtown
WiFi Hotspot
Other
| ";
?>