Current location: Hot Scripts Forums » Programming Languages » PHP » $_POST Problem


$_POST Problem

Reply
  #1 (permalink)  
Old 09-04-10, 10:08 PM
myprizeshop myprizeshop is offline
Newbie Coder
 
Join Date: Apr 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
$_POST Problem

This script is suppose to display any email that was entered into the form within a day on another page if the generate button is pressed. Every time the button is pressed it should post a different email. But, a user is only allowed to "generate" an email once a day.

Heres the form (ignore the divs):
PHP Code:

<form method="post" action="projects/lig.php">

  <
input name="email" type="text" value="Email Address" /><br />
</
div>
<
div id="submit">
  <
input type="submit" value="Submit">
</
div>
</
form
heres the script:
PHP Code:

<input type="submit" value="Generate" />


<?php echo $_REQUEST["email"]; ?>
Reply With Quote
  #2 (permalink)  
Old 09-09-10, 12:23 PM
Golith Golith is offline
Newbie Coder
 
Join Date: Jun 2010
Posts: 87
Thanks: 6
Thanked 1 Time in 1 Post
rest of the code?

cen u post the code for
projects/lig.php

I assume holds the count for sending only one email per day either on db or as a session variable ??
__________________
Its My script and I'll if I want to
www.cictradinggroup.com.au
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown Javascript/Ajax problem vitron JavaScript 9 06-05-09 11:44 AM
login, roles problem dbrook007 ASP.NET 10 11-10-06 03:42 PM
Form Display Problem neevrap02 Visual Basic 1 09-05-06 05:18 AM
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM


All times are GMT -5. The time now is 08:19 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.