i have a small problem, i'm using a PHP form to get answers off a contact form I created.
Here is the php:
$email_message .= "E-Commerce: \n";
$email_message .= (isset($_POST['no-credit'])) ?
"No credit card: $".implode(" ", $_POST['no-credit'])."\n" : '';
$email_message .= (isset($_POST['paypal'])) ?
"Paypal: $".implode(" ", $_POST['paypal'])."\n" : '';
When i get the email, and "paypal" or "no credit" is not checked "E-commerce:" still shows up. I tried something like:
$email_message .= (isset($_POST['no-credit'])) ? (isset($_POST['paypal'])) ?
"E-Commerce: \n";
$email_message .= (isset($_POST['no-credit'])) ?
"No credit card: $".implode(" ", $_POST['no-credit'])."\n" : '';
$email_message .= (isset($_POST['paypal'])) ?
"Paypal: $".implode(" ", $_POST['paypal'])."\n" : '';
But it did not work, i fell like i'm not far away but i can not get my hands on it.
Thanks