![]() |
The form generates a script tag, e.g.:
PHP Code:
I've got all the colors, etc., working, but the forumid part is the most important...and right now, it's just saying "forumid=Array". I'm trying to figure out why. :( |
i think thats because both php and javascript take "[" "]" and treat it like its an array... try and remove them from the code
g-force2k2 |
It wasn't in the code, originally, and it still output the same thing, but hang on, I'll try it again for kicks.
Dangit. I really wish there were a way to just beam code down to Earth. :( |
this is the code i get in my test....
Code:
test.php?&forumid=[10,11,12,13,14,15,16,17,18,] [edit] nice job :) g-force2k2 |
Figured it out!
I don't know WHY, but for whatever reason, in the second loop (testing whether the POST var is an array, then writing the output), I have to refer to the POST var as $POST_VARS[$key] instead of just $key. Woot! |
im glad that you figured it out
good luck with the script :) g-force2k2 |
Thanks! If I get it working really well, I'll put it in the beta release forum on Monday. :)
I appreciate all your help. |
Interesting... You use PHP3's method of looping through an array :)
|
Quote:
What syntax would you have used? |
All times are GMT. The time now is 06:58 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:
|