Reply
How do you make invisible forms with php?
Old 07-09-2004, 03:14 PM How do you make invisible forms with php?
Junior Talker

Posts: 2
I cant seem to find an example of invisible php forms any where. Ive tryed a lot of combinations but none seem to work.
The one i use with no error messages is:

<form action="editnews.php" method="POST">
Email: <name="email" value="user@domain.com" />
<input type="submit" />
</form>

-------------------

$email = $_POST["email"];
echo $email;

//
But the value is not transfered. What am I doing wrong?
Oxymoronic is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 07-09-2004, 03:24 PM
compmodder26's Avatar
Experienced Talker

Posts: 44
you're looking for :

Code:
<input type="hidden" name="email" value="user@domain.com" />
Then when on editnews.php when you call $_POST['email'] you should get a value.
compmodder26 is offline
Reply With Quote
View Public Profile Visit compmodder26's homepage!
 
Old 07-09-2004, 05:02 PM
Junior Talker

Posts: 2
thanks man, I owe you
Oxymoronic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do you make invisible forms with php?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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.11487 seconds with 13 queries