in all my script i use the variable without using $POST when i send my form...
example: (it's just a part of the script)
elseif($list == 3)
{
if($Sub_daily)
{
$Link = mysql_connect('localhost','root','');
mysql_select_db("imc",$Link);
$contents = nl2br($contents);
mysql_query("INSERT INTO news (authorID, Type, Date, title, Content) VALUES ($id, 'daily', NOW(), '$title', '$contents')",$Link);
mysql_close($Link);
echo"<script language=javascript>";
echo"window.open('./info.php?id=";
print($id);
echo"','InfoMan','width=650,height=450,resizable=no,screenX=75,screenY=150,left=75,top=150');";
echo"window.close();";
echo"</script>";
}
else
{
echo"<form name=write_daily action=\"./info.php?list=3\" method=post>";
echo"<input type=hidden name=id value=";
print($id);
echo">";
echo"<table width=\"100%\">";
echo"<tr><td><b><font color=\"#003399\">Topic or Title:</font><b></td><td><b><font color=\"#003399\">Your name:</font><b></td></tr>";
echo"<tr><td><input type=text size=70 name=title></td><td><input type=text size=25 name=author></td></tr>";
echo"<tr><td colspan=2><br></td></tr>";
echo"<tr bgcolor=\#00000\><td colspan=2></td></tr>";
echo"<tr><td colspan=2><b><font color=\"#003399\">Your Daily News Text:</font><b></td></tr>";
echo"<tr><td colspan=2><textarea name=contents cols=100 rows=10></textarea></td></tr>";
echo"<tr><td colspan=2 align=center><input type=submit name=Sub_daily value=send!></td></tr>";
echo"</table>";
echo"</form>";
}
}
is the fact that i dont have anyprob with my var came of the fact that i test my script in localhost ????
will i have prob when i will put that script online cuz i dont use the array $POST to test my var ???????

:cry: :cry: :cry: