The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
would it be possible...
...to pass a javascript variable into php?
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
Quote:
Code:
<script type="Javascript"> var something; something = "this"; </script> |
#4
|
|||
|
|||
there you go
|
#5
|
||||
|
||||
Hmm good point I didnt think of that one.
Maybe try this [php] <script type="Javascript"> var something; something = "this"; <?php $phpvar="/?> something <?php "/ ?> </script> ?? |
#6
|
||||
|
||||
I don't think its possible since javascript is parsed after, by the browser. But what you could do is something like
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|