Jump to content

[SOLVED] how to send my result through email


nelquintin

Recommended Posts

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>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.