[PHP] Posting a variable

2007-04-11 Thread Zhimmy Kanata
Hi, I am trying to pass a variable into a textfield and then pass the variable onto a php page for insertion into a Mysql database. However, I want to send the username of the person logging on. But instead php is taking the username of the logon information of the database. Which I

[PHP] HELP with mail()

2007-04-05 Thread Zhimmy Kanata
I created the following email program from a email function that I know works in another program. When I create a simple form page listed below and submit it. It echos the $email and the $username and it writes it to the page. So it is finding the variables within the transfering url in th

[PHP] PHP Mail function

2007-04-05 Thread Zhimmy Kanata
For whatever reason I can't pass the variable $email into the mail function to make it send me an email..can anyone help? Here is my code body { background: #131313; font-family: Verdana, Arial; font-weight: bold; font-size: 9px; color: #FF; }

Re: [PHP] Mail function

2007-04-05 Thread Zhimmy Kanata
not, you have to pass. or you can use my function // function declaration, This function can send only HTML emails function sendMail ($toEmail, $subject, $message, $fromName, $fromEmail) { $header .= "From: $from_name <$fromEmail>\n"; $header .= "Reply-To: <$fromEmail>\n"; $

[PHP] Mail function

2007-04-04 Thread Zhimmy Kanata
Hi, I am working on a program to create a registration feature through a email notificaiton much like this list. For functional use but also for personal training. However, I can't seem to pass the variable into the mail function() ? If I echo the variable it displays it so it must