The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Im trying to write a new script for VB 3.5 - i can do this mo problems in normal PHP , but i seem to run into issues on the boards.
I have the custom page done as instructed and all that looks great - it selects the info from the database and places it into a form i have created. My issue is - when i submit the form and return it to the same page , some of the data seems to be ignored ... for example : Code:
<input type=\"hidden\" name=\"empty\" value='".$line['linkname']."'> <input type=\"hidden\" name=\"number\" value='".($x-1)."'> <input type=\"hidden\" name=\"updated\" value=\"1\"> Code:
if ($updated == "1" ) { blah blah } Code:
echo $updated; I cant seem to figure it out ? |
#2
|
||||
|
||||
![]()
Do you actually have any code to set the value of $updated from the data sent by the form ? (as it won't directly go into a variable of that name).
|
#3
|
|||
|
|||
![]()
In the form i have sending back to that page again i have
<input type=\"hidden\" name=\"updated\" value=\"1\"> and when submitting that form , the $updated value should be set to 1. It seems to work fine on a non VB page , and the address i get in a VB page when i set the form to GET is the following ... Code:
marks.php?linkname=sds&linkurl=TEST&empty=TEST&number=2&updated=1&Send=Update |
#4
|
||||
|
||||
![]() Quote:
See http://www.vbulletin.com/docs/html/m...estandards_gpc for details of them. |
#5
|
|||
|
|||
![]()
Thanks Paul - i think that may help me out !
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|