![]() |
Forms in vbulletin
Hi,
I'm trying to add some new functionalities to the vbAdvanced CMPS but I've got a problem with the forms. I've got a few pages on my site were people can add information to the database via a form. A typical form consists of these lines : <input type="text" class="bginput" size = "50" name="newprogname"> If the user fills in the form (he adds the name of newprogname) and clicks on submit the user goes from url/step1 to url/step2 (This is done via a redirection php file called redirect.php). THE PROBLEM : when the user clicks on submit the parameter $newprogname is empty in step2 ! Can someone please help me ? PM me for the url or more information. |
Oh yeah, I'm using vb 3.0.3
|
In step 2, the value of the box needs to be set to $newprogramname
|
Hy Amykhar,
In step 2 I'm doing an 'echo $newprogname' but it is empty ? For some reason the form doesn't send the value to the next page. Getthat |
Because globals are turned off. You need to use $GET_programname or $POST_programname, depending on the method the form used.
|
Do you have some more info about globals (sorry, newby alert :->) ?
|
Help, it is not yet working ! Somebody ?
|
All times are GMT. The time now is 07:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|