php array

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

Post Reply
Delphine
Forum Newbie
Posts: 3
Joined: Thu Oct 07, 2010 12:35 am

php array

Post by Delphine »

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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: php array

Post by requinix »

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

Re: php array

Post by pkphp »

A framework? I really want to help you , but sorry, i even think that is not PHP code lol
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: php array

Post by John Cartwright »

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.
Post Reply