Unable to pass variable data
- by JM4
I am trying to use the following code to pass information to another site but it keeps giving me an error:
Invalid Code:
$a = $b->doIt("James",$_SESSION['JNum'],"Frank");
Valid Sample Code:
$a = $b->doIt("James","123456","Frank");
In the first example, the page returns "number field is required". The second piece of sample code…