Hello,
I am in desperate help. I am absoloutly going crazy trying to sort out this problem inwhich i have.
Basically, i have a website which includes a support page. User enters support and it goes in the database, then administrator (userlevel4) can view all tickets and edit them.
I have the view tickets working and the links working so when i click on it it goes to edit.php?id=whatever.
edit.php?id=17 (which is the one im tryign to edit) opens blank.
Heres the code.
<?
require_once "inc/acct_handler.php";
require_once "inc/logfunc.php";
logincheck();
$user=$_SESSION['username'];
if($info->userlevel=='0'){
die("This page does not exist!");
}
$id = $_GET['id'];
$all=mysql_query("SELECT * FROM support WHERE id='$id'");
while ($array=mysql_fetch_assoc($all))
{
echo "".$array['problem']."";
}
?>
PLEASE HELP IM GOING CRAZY WITH THHIS LOL.