nelquintin Posted February 17, 2007 Share Posted February 17, 2007 how can you send results through email once you queried the database.This just display as plain text when the email recived. <form method='post' action='mailform.php'> Email: <input name='email' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> <?php echo "<image src=\"$picture ","\" style=\"border: 1px solid black;\">"; ?> R<?php echo $price = $row["price"]; ?><br>Reference #<?php echo $ref = $row["ref"]; ?><br> <?php echo $description = $row["description"]; ?><br> Bedrooms: <?php echo $bed = $row["bed"]; ?><br> Bathrooms: <?php echo $bath = $row["bath"]; ?><br> Garages: <?php echo $gar = $row["gar"]; ?><br> </textarea> <input type='submit' /> </form> Quote Link to comment https://forums.phpfreaks.com/topic/38879-solved-how-to-send-my-result-through-email/ Share on other sites More sharing options...
Daniel0 Posted February 17, 2007 Share Posted February 17, 2007 You would use the mail function. Quote Link to comment https://forums.phpfreaks.com/topic/38879-solved-how-to-send-my-result-through-email/#findComment-186978 Share on other sites More sharing options...
nelquintin Posted February 17, 2007 Author Share Posted February 17, 2007 no problem to send the mail when the user recieve the email it just display plain text of the query instead of the result (show the image etc... Quote Link to comment https://forums.phpfreaks.com/topic/38879-solved-how-to-send-my-result-through-email/#findComment-186980 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.