Jump to content

GPlev

New Members
  • Posts

    4
  • Joined

  • Last visited

GPlev's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This is what is in the email properties. Where would this be overwritten? or does it default to this because there is not something right with my code? Return-path: <bounce-cgi-ipw.gomblcom@eigbox.net>
  2. I have a mail function to send out emails to a list of email addresses from a mysql table. However...when an email address is no longer valid, i dont get bounce back emails. Below is the header text I am using..anything wrong with this. $header = 'MIME-Version: 1.0' . "\r\n"; $header .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $header .= 'Return-Path: myemail@mail.com' . "\r\n"; $header .= 'From: myemail@mail.com' . "\r\n";
  3. I have a form that has a list of checboxes, each checkbox has multiple values. IE. Checkbox1 has Date 1 and Cost1. Checkbox2 has Date2 and cost2 and so on. This is what I have in form. echo "<input type=checkbox name=service_id[] value=".$id."><label>".$description."</label> Date:<input type=date name=date[] value=".date('Y-m-d').">Date:<input type=number name=cost[] value=".$cost."><br>"; When i run the for loop to insert the values into a table i have this. foreach($_POST['service_id'] as $key => $value){ $cat1=$_POST['service_id'][$key]; $cat2=$_POST['date'][$key]; $cat3=$_POST['cost'][$key];} The problem is that when I select certain boxes (ie, checkbox #2), it inserts Date1 and Cost1 but does use the correct service id (ie checkbox) I am clearly not storing the values into the array correctly. Any thoughts?
×
×
  • 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.