PDA

View Full Version : Vb html/php codes


Abe1
08-17-2004, 07:26 PM
Is there a list of the codes the vb uses in php and templates? I'm talking about like $post, $bbuserinfo ....

CarCdr
08-18-2004, 12:18 AM
Is there a list of the codes the vb uses in php and templates? I'm talking about like $post, $bbuserinfo ....
Sometimes $post[], $bbuserinfo[], etc. are set, other times not. Even if there are set their use is not consistent. For example, just cause some things are set for $post[] does not mean $post[value_you_need] is set.

There are no standards for what is available to a template. It depends on what the PHP code has set (the only way $variable is set). So, it depends on what script is running and where in the script the template is used (evaluated).

How do you like my answer so far... :)

You could include an echo statement or print_array call (functions_misc.php) in the PHP code just before a template is used to verify a variable/array[].

If you could give a specific instance, someone could guide you I am sure. Without such a specific instance, I am afraid it's a bit of a rat's nest.

Abe1
08-18-2004, 05:10 PM
I figured out what I needed for now. Thanks anyway.