Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
page specific form validation
Old 11-02-2006, 11:22 AM page specific form validation
Novice Talker

Posts: 5
Trades: 0
Hello;
I hope someone can offer some assistance.
Have a form that receives a PHP email variable from another page link. I am trying to enter some basic PHP form validation but I am not used to the PHP aspect of form validation.
I need the user to be prompted if there is no informaion in either the subject or message box.
Please help if you can. It is Greatly appreciated.
PHP Code:
<?php
$email 
$HTTP_GET_VARS['email_to']; //Get the value of the email_to variable in the gif. Might need to use $HTTP_GET_VARS instead of $_GET but try this first
?>
Code:
<form action="mail2.php" method="POST"> 
   <input type="hidden" name="email" value="<?php echo $email; ?>">
<p><b>Subject</b><br> 
   <input type="text" name="subject" size=50> 
   <br><br> 
<b>Message</b><br> 
<textarea cols=40 rows=10 name="message"></textarea><br><br>
<input type="submit" value=" Send "> 
</form>
<br><br>
<hr>
</body></center>
</html>
bufhal is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2006, 02:32 PM Re: page specific form validation
kreoton's Avatar
Extreme Talker

Posts: 194
Trades: 0
ever tryed to use google there is tons of scripts with email validation

http://www.google.lt/search?hl=lt&q=...%C5%A1ka&meta=
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
kreoton is offline
Reply With Quote
View Public Profile Visit kreoton's homepage!
 
Reply     « Reply to page specific form validation
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09440 seconds with 12 queries