hi,
i have the following php file..
<?
include "subs.inc";
include "DB_subs.inc";
include "passwd.php3";
$host = "localhost";
$db = "acctest";
parse_str will assign the incoming variable POSTed to this scrpt
parse_str($user_name);
Print_header ();
$referrer = getenv(HTTP_REFERER);
idea here is to print the detailed screen for the stock,
username, password, stock id will be posted to this script
verify password
$status = DB_Open($db,$host, $user, $DBpasswd, $conn);
if ($status) {
$error = $error . $status;
}
?>
<a href="index.php">Company Details</a><br>
<a href="index.php">Structure</a><br>
<a href="index.php">Sums Insured</a><br>
<a href="index.php">Cover Required</a><br>
<a href="index.php">Summary Report</a><br>
<a href="index.php">Docs</a><br>
<?
Print_footer ();
?>
this works fine.....
what i now need is, when a user clicks on a link, i want to reload this page, but with text in the middle of the page, this text will be selected from a mysql database, can anybody show me how to do this?
many thanks .....