Parse error: parse error in /home/student/salmendinge/www/edittext.php on line 20
im getting this error can anyone tell me what im doing wrong (i apologize if my coding is shotty im new at PHP).
here's the code:
Code:<?php $newText = $_POST["stuff"]; if(!isset($_POST["submit"])) ?> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> body{background-color:#000000} </style> </head> <body> <form method="post" action="<?php echo $PHP_SELF;?>"> <textarea rows="15" cols="50" name="stuff"></textarea><br/> <input type="submit" value="submit" name="submit"> </form> <? } else { echo $newText; } ?> </body> </html>
Thanks-![]()



Reply With Quote

Bookmarks