Callum Posted May 23, 2009 Share Posted May 23, 2009 can anyone tell me the fault with this script. I am confused. I am just recieving blank emails. <form action="sent.php" method="post"> <table> <tr><td> Name: </td><td><input type="text" name="appname" size="30"></td></tr> <tr><td> Xfire:</td><td> <input type="text" name="appxfire" size="30"></td></tr> <tr><td>Email: </td><td><input type="text" name="appemail" size="30"></td></tr> <tr><td>Refferal: </td><td><input type="text" name="apprefferal" size="30"></td><tr> <tr><td></td><td><textarea name="why" cols="30" rows="5"> Why should we let you join? </textarea></td></tr> <tr><td></td><td> <input type ="submit" value="Send"></td></tr> </table> </form> <?php$appname = $_POST['appname'];$appxfire = $_POST['appxfire'];$appemail = $_POST['appemail'];$apprefferal = $_POST['apprefferal'];$appwhy = $_POST['appwhy'];$to ="callumhubbarde@live.co.uk";$re = "Edge Gaming Application";$msg = "{$appname}\n{$appxfire}\n{$appemail}\n{$apprefferal}\n{$appwhy}";mail ($to, $re, $msg); ?> Link to comment Share on other sites More sharing options...
smerny Posted May 23, 2009 Share Posted May 23, 2009 $appwhy = $_POST['appwhy'];in the form it's just 'why' Link to comment Share on other sites More sharing options...
Callum Posted May 23, 2009 Author Share Posted May 23, 2009 EDIT 2: Problem solved Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.