PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Delphine
Forum Newbie
Posts: 3 Joined: Thu Oct 07, 2010 12:35 am
Post
by Delphine » Thu Oct 07, 2010 12:39 am
Hii all..
plz help me in solving my problem..
here's my piece of code
Code: Select all
$dispImg1 = $message -> embed(Swift_Image::fromPath("images/header.jpg"));
$dispImg2 = $message -> embed(Swift_Image::fromPath("images/top.jpg"));
$dispImg3 = $message -> embed(Swift_Image::fromPath("images/resultat.jpg"));
$dispImg4 = $message -> embed(Swift_Image::fromPath("images/leftResult.jpg"));
$dispImg5 = $message -> embed(Swift_Image::fromPath("images/rightResult.jpg"));
$dispImg6 = $message -> embed(Swift_Image::fromPath("images/bottom.jpg"));
$dispImg7 = $message -> embed(Swift_Image::fromPath("images/leftFooter.jpg"));
$dispImg8 = $message -> embed(Swift_Image::fromPath("images/rightFooter.jpg"));
$dispImg9 = $message -> embed(Swift_Image::fromPath("images/middle.jpg"));
$dispImg10 = $message -> embed(Swift_Image::fromPath("images/spacer.gif"));
I need to convert this into an array.. Can anyone help me with this?
Any help will be greatly appreciated.. Thank you in advance
Regards
Delphine
requinix
Spammer :|
Posts: 6617 Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA
Post
by requinix » Thu Oct 07, 2010 12:54 am
Convert what into an array? Have you tried to do it yourself? What have you come up with?
pkphp
Forum Newbie
Posts: 12 Joined: Mon Sep 20, 2010 1:20 am
Post
by pkphp » Thu Oct 07, 2010 1:14 am
A framework? I really want to help you , but sorry, i even think that is not PHP code lol
John Cartwright
Site Admin
Posts: 11470 Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:
Post
by John Cartwright » Thu Oct 07, 2010 1:19 am
pkphp wrote: A framework? I really want to help you , but sorry, i even think that is not PHP code lol
Huh? It is PHP code. In fact, it is the Swift Mailer library.