vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2005, 09:28 AM
croupier croupier is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default PHP page with FORM tag - need help

I've tried all sort to get this working but i'm stumped. All I want to do is setup a PHP page with a form which passes the form data back to itself

eg.

PHP Code:
<?
echo "*".$test."*";
?>
<form action="" method="get" name="form1">
<input type="hidden" name="page" value="formtest">
<input type="text" name="test">
<input type="submit" value="submit" name="submit">
</form>
I think it must be something to do with the globals but I've tried all sorts and can't get it to work (the page variable is working fine but I can't get hold of the test variable, although it's showing in the URL)

Help!
Reply With Quote
  #2  
Old 09-03-2005, 03:44 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: PHP page with FORM tag - need help

Are you using $_POST['test'] in the file after the form is posted?
Reply With Quote
  #3  
Old 09-03-2005, 06:08 PM
croupier croupier is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default Re: PHP page with FORM tag - need help

I've tried that (and other superglobals) but it didn't work
Reply With Quote
  #4  
Old 09-08-2005, 07:29 AM
croupier croupier is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default Re: PHP page with FORM tag - need help

Does nobody have any idea why $_REQUEST doesn't work within a php file page???
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i make a page post a form? 7thGenCivic.com Troubleshooting / "How do I..." Questions 3 09-21-2005 02:01 PM
Form POST Problem in PHP Page matmen Troubleshooting & Problems 9 07-25-2005 11:31 AM
Form to Mail Spikeh Troubleshooting / "How do I..." Questions 2 11-21-2004 07:25 PM
[REQ] Form sending as PM to specified person Immortal Add-On Modules & Modifications 1 09-13-2004 04:19 AM


All times are GMT -4. The time now is 04:11 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.