I'm using radio options in a form I've made, each have an image in them. I was wondering how I can email an image in a php form
Here is one of the radio options:
Code
<input type="radio" class="radio_item" value="1" name="item" id="radio1">
<label class="label_item" for="radio1"> <img src="../assets/fleet-truck-1.png"> </label>
I'm using PHPMailer to handle the emails, and here is the line for the radio
Code
$truck = "Truck Selected :" . $_POST['item'] . "<br>";
Am I able to place an image tag inside the "value" option, which will then send that image inside the email?
My phpmailer has HTML enabled when sending
This post was edited by Strickland on Dec 31 2019 12:35am