We help IT Professionals succeed at work.
Get Started

Tell to friend php form

1,238 Views
Last Modified: 2012-05-10
I want make little tell to friend form and there is one field where all friends email address goes separate dot, commas or point. But I don't figure out how it works :)

Here is my form without action (send page) because I haven't do it yet.


<table border="0" cellpadding="10" cellspacing="0">
<tr>
<td width="397"> *Your Friend's email address:</td>
<td width="301">&nbsp;</td>
</tr>
<tr>
  <td><input size="30" name="friends_address" maxlength="45"></td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td>*Sender emailtd>
  <td>&nbsp;</td>
</tr>
<tr>
  <td><input size="30" name="sender_email" maxlength="45"></td>
  <td>&nbsp;</td>
</tr>
<tr>
<td> *Nimesi:</td>
<td rowspan="5" align="right">&nbsp;</td>
</tr>
<tr>
<td><input size="30" name="name" maxlength="45"></td>
</tr>

<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>Viestisi</td>
</tr>
<tr>
<td><label>
  <textarea name="message" id="viestisi" cols="60" rows="5"></textarea>
</label></td>
</tr>
<tr>
<td>
<p align="left"> Voi l&auml;hett&auml;&auml; suosituksen my&ouml;s usealle vastaanottajalle. Erota osoitteet pilkulla ja v&auml;lily&ouml;nill&auml; toisistaan. <br>Sähköpostiosoitteesi ja nimesi näytetään vastaanottajalle.<br>
<br>
*Tähdellä merkityt ovat pakollisia
</td>
<td align="right"><input onClick="validate();" type="button" value="Suosittele"></td>
</tr>
</table>
</center>
</div>
</form>
</td>
</tr> 
<tr valign="top"> 
<td valign="middle" align="center">&nbsp; 

</td>
</tr> 
</table>

Open in new window

Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE