Menu
Hi all,
I have a script which uses the result of a PHP query.
[CODE]
function update(dual_start_pin, dual_end_pin)
{
dual_end_pin.value = dual_start_pin.value + “<?php echo $_SESSION[‘order2’];?>” ;
}
This is what I am rtying to do:
If the var “dual_start_pin” = 1338000 I want the var “dual_end_pin” value to be updated with the value of the $_SESSION var.
At the moment if the “dual_start_pin” = 1338000″ and the $_SESSION var = 10, the output is “133800010”
What am I doing wrong.