This is the code that pulls and displays the names of the projects you are dealing with. It also creates a link to projectPage.php, which uses the pulled project name to decide which project's info to display:
Code: Select all
$result = mysql_query("SELECT proName FROM projectList WHERE accEmail = '$accEmail'");
while($row = mysql_fetch_array($result))
{
$proName = $row['proName'];
echo "| <a href = projectPage.php><b>".$proName."</b></a><br />";
$_SESSION['proName'] = $proName;
}
Code: Select all
$proNameWhat should I be doing instead?
Thanks