<?php session_start(); require("header.php"); require("checkUser.php"); ?> <?php echo "<h1>My Answer</h1>"; $sql="SELECT * from answer,question where answer.user_id=$_SESSION[uid] and answer.question_id=question.question_id"; $result=ExecuteQuery($sql); while($row = mysqli_fetch_array($result)) { echo "<span class='box2'>"; echo "<span class='head'><a href='questionview.php?qid=$row[question_id]'><h4>$row[heading]</h4></a></span>"; echo "</span>"; echo "<br/>"; echo $row['answer_detail']; echo "<br/>"; echo $row['datetime']; echo "<br/>"; echo "<div class=line></div>"; } ?> <?php require("footer.php");?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)