-
Notifications
You must be signed in to change notification settings - Fork 0
/
que.php
29 lines (22 loc) · 666 Bytes
/
que.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
session_start();
require("header.php");
require("checkUser.php");
echo "<h4>My Question<img src='res/images/askq.jpg' class='imagedel'/></h4>";
?>
<?php
$sql="SELECT * from question where user_id=$_SESSION[uid]";
$result=ExecuteQuery($sql);
while($row = mysql_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['question_detail'];
echo "<br/>";
echo $row['datetime'];
echo "<div class='line'></div>";
}
?>
<?php require("footer.php")?>