Multiple Images(Attachements) Mail_Mime

the mail() function

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Sat Oct 15, 2011 5:39 pm

Multiple Images(Attachements) Mail_Mime

Postby thelos999 » Sat Oct 15, 2011 5:45 pm

For some reason, if I use the following code, only one image seems to get sent(image2 and not image1):

Code: Select all

$sql = mysql_query("SELECT photo FROM article_info");
   while($row = mysql_fetch_assoc($sql)) {

But if I were to manually enter each image:

Code: Select all


Both images will be sent. If tried doing a simple, and it seems like image2 is pushing image1 out, or something? Am I doing something wrong? Why would I only be sending/receiving one image? Any suggestions? Thanks in advance.

If tried ding a simple, and it seems like image2 is pus

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 2 guests