Current location: Hot Scripts Forums » Programming Languages » PHP » foreach problems

foreach problems

 
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-13-09, 12:33 AM
gilbertsavier gilbertsavier is offline
New Member
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
foreach problems

Hi,
I have a list of names, emails, a checkbox and a message box, the names and emails are from a database. What I am trying to do to select say 5 of the names from the list via the checkbox and send an email to those who I have picked.

I can't seem to get my head around the foreach function, is it that there has to be a foreach function to collect the email addresses and to see which user has been selected or do they come under the same one.

I have tried to do some of the coding myself, but fear I am getting more and more confused, some help would be great. Here is what I have done so far.

---------------
Thanks & regards
Lokananth
Live chat By miOOt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
foreach function acting up soloWebDev PHP 5 08-07-07 11:20 AM
Classified Ads skipper23 Perl 3 11-22-05 03:22 AM
Foreach Variable/array Scope DAL PHP 5 10-22-05 02:38 PM
formmail problem gscraper Perl 12 08-27-04 04:06 AM
Classified Ads skipper23 Perl 2 12-30-03 04:43 AM


All times are GMT -5. The time now is 05:21 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.