[PHP] Simple E-mail Question

2003-01-22 Thread Scott Saraniero
Hi,

I'm using this line to send an e-mail with info:

mail("[EMAIL PROTECTED]", "$Event Ticket Form", $msg, $mailheaders);

If I want to add mail recipients, or cc, or bcc, how would I do this?

Thanks,
Scott


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Returning table rows from MySQL

2002-02-18 Thread Scott Saraniero

Hi.

I've got a piece of code below that works great for me. Now I would like to
modify the rows with alternating colors in the displayed results. Any
suggestions on how to do this?

");
print ("");
print ("Song");
print ("Artist");

while ($Row =mysql_fetch_array($Result)) {
print ("");
print ("$Row[song]");
print ("$Row[artist1] $Row[artist]");

print "";

}
print "";




mysql_close($Link);

?>

Thanks,
Scott


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Combining my code

2002-01-29 Thread Scott Saraniero

Hi,

I've got two bits of code below that work fine, but I would like to combine
them if possible. The $check variable that is there is there now would
normally be passed from a form. Since the items in the '$Company = array()'
part would be passed into that section - how can this be done?

*
");
fclose($fp);

?>  
*

The end result would be for me to have



written in the PR.inc file (for use as an include later).

Thanks,
Scott


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Write an array to a file

2002-01-29 Thread Scott Saraniero

Hi,

How do I write an array to a file? For example, I need to write just this in
a file:


I've been hung up for 2 days on this. Any help would be appreciated.

Thanks,
Scott


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Sending Form Arrays

2002-01-28 Thread Scott Saraniero

Thanks, I'll try this, but why is the value always 'Y'?

> From: [EMAIL PROTECTED] (Edward Van Bilderbeek - Bean It)
> Newsgroups: php.general
> Date: Mon, 28 Jan 2002 15:24:01 +0100
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Sending Form Arrays
> 
> try something like this:
> 
>  check 1
>  check 2
>  check 3
>  check 4
>  check 5
> 
> that should do it...
> 
> Edward
> 
> - Original Message -
> From: "Scott Saraniero" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 28, 2002 3:17 PM
> Subject: [PHP] Sending Form Arrays
> 
> 
>> Hi,
>> 
>> I have a form that has a section with multiple checkboxes. I would like to
>> be able to send the checked boxes out as an array, and be able to retrieve
>> the array in the next page (that the form variables go to.) I cannot find
>> specific info on this anywhere. Can someone please point me in the right
>> direction?
>> 
>> Thanks,
>> Scott
>> 
>> 
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Sending Form Arrays

2002-01-28 Thread Scott Saraniero

Hi,

I have a form that has a section with multiple checkboxes. I would like to
be able to send the checked boxes out as an array, and be able to retrieve
the array in the next page (that the form variables go to.) I cannot find
specific info on this anywhere. Can someone please point me in the right
direction?

Thanks,
Scott


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]