Dear all
I am coding a site that allows details of clients records to be edited from user friendly pages on a website ...
I got some help from meister (bless his cotton socks) who came up with the code below ...
$sql="SELECT client_name FROM client_login";
// $r becomes the result index - basically a pointer to the results of
// your query.
$r = mysql_query($sql);
// The @ supresses errors that might be given by a bad $r (which is then
// no results were returned by the query)
if(@mysql_num_rows($r))
{
while($row = mysql_fetch_array($r))
{
$rec_str .= "<TR>";
{
echo '<CENTER><a href="clients_details.php?client='.
$row['client_name'].'">'.$row['client_name'].'</a>'."</CENTER></tr><br>\n";
}
}
which works perfectly ...only I cant figure out how to save my next file .... here it is listed as 'client_details.php?client='.$row['client_name']
so how do a save a file with a name that this will link to?
Thanks for your time ...