Cheap Commercial Posted April 22, 2006 Share Posted April 22, 2006 hi there what is the php script to sendall info submitted to my email like [a href=\"http://www.splices.org/test/wow.php?bob=\" target=\"_blank\"]http://www.splices.org/test/wow.php?bob=[/a]??? please and thank you in advanced Quote Link to comment Share on other sites More sharing options...
Orio Posted April 23, 2006 Share Posted April 23, 2006 If you want to send yourself everything submitted, do something like this: (Lets say he submitted his name and phone number)[code]<?php$to="me@host.com";$subject="Info";$msg="Name= ".$_POST['name]."/n Phone number= ".$_POST['tel'];if(mail($to,$subject,$msg){echo "Mail sent";} else{echo "There was a problem sending your info";};?>[/code]Orio. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.