the problem is that maybe 2/3 of our website can only be accessed by people who pay for the service. the other 1/3 of the articles are free. therefore, we show part of the articles in the article.php file and the other articles on the premium.php page. i will give you the code so you can see where the $row comes into play:
$articleId = @$GET["articleId"];
$page = @$GET["page"];
$result = mysql_query("select aLink3, pk_aId from tbl_Articles where pk_aId = '$articleId'");
while ($row = mysql_fetch_array($result))
{
$premium = $row["aLink3"];
if ($premium == 'yes')
{
header("Location: [url]http://www.bparis2.com/premium.php&articleId=[/url]<?php echo $row["pk_aId"]");
}
}
Maybe I am on the wrong track ;-)
andrea