I am attempting to include double quotations in a php variable.
The desired output in this example would be:
- "John Smith"
Here is my latest, failed attempt...
<?php
if (isset($_POST['firstName']) && isset($_POST['lastName'])) {
$username = $_POST['firstName'];
$userpassword = $_POST['lastName'];
$combined = '- ' . '\”' . $firstName . ' ' . $lastName . '\”';
}
?>