| 
	
 | 
 Posted by cover on 01/25/06 15:49 
A follow up question:  
 
Writing values to the db with the MySQL query INSERT INTO code doesn't 
like sharing with the code that initiates the email so, is it common 
practice to initiate TWO actions from the input form shown below? i.e. 
to use <form action="process2.php" method="post"> twice in a row on 
the input form?  Once for example to initiate INSERT INTO the database 
and the second <form action="process3.php" method="post"> right below 
it to initiate the email code on process3.php?  Seems like a pretty 
clean way of dealing with it, thoughts anyone?   Otherwise I need to 
figure out how to do the INSERT INTO and then continue on to 
initiating the email code.  Thanks very much. 
 
On Mon, 23 Jan 2006 20:54:34 -0800, cover 
<coverlandNOSPAM914@yahoo.com> wrote: 
 
 
>My input form is as follows: 
><form action="process2.php" method="post"> 
>From: <input type="text" name="from" size="20" maxlength="20" /><br /> 
>To: <input type="text" name="to" size="30" maxlength="30" /><br /> 
>Subject: <input type="text" name="subject" size="30" maxlength="30" 
>/><br /> 
>Message:<textarea name="text" name="message" cols="50" 
>rows="10"></textarea><br /> 
><input type="submit" name="submit" value="Send" /> 
></form>
 
  
Navigation:
[Reply to this message] 
 |