QUOTE(capty99 @ 24 Feb, 2008 - 09:45 PM)

i tried both, and it didn't run. a found someone else's code and am using that now... only thing different is it declares the variables seperate♠
$cname = $_POST['name'];
$csubhead = $_POST['subhead'];
thanks for looking though man
i see in your code that the name is cname not name so you may be try
$cname = $HTTP_POST_VARS["cname"];
$coverview = $HTTP_POST_VARS["coverview"];
and echo $cname.$coverview ..
use $HTTP_POST_VARS["submit"] in if condition, or change register_globals = on in your php.ini
this is the complete code
CODE
<?php
if ($HTTP_POST_VARS["submit"])
{
$cname = $HTTP_POST_VARS["cname"];
$coverview = $HTTP_POST_VARS["coverview"];
echo "cname = ".$cname." and coverview = ". $coverview;
}
else
{
?>
<html>
<head>
<title>
what ever
</title>
</head>
<body>
<form action="<?php echo $PHP_SELF;?>" method="POST">
<input size="50" maxlength="250" type="text" name="cname">
<textarea name="coverview" cols="40" rows="10"></textarea>
<input type="Submit" name="submit" value="Submit">
</form>
</body>
</html>
<?php }?>
I hope this code can help you !!!
and please visit my blog

<a href="http://canty.web.id">[-canty 4 ever-]</a>