I have a shopping cart checkout form where I am using GET to specify
payment method from payment_method.php page.
So I have something like the following:
>From payment_method.php the user chooses payment method by clicking on a
payment link that then send them to the checkout_form.php
checkout_form.php?form=cc for credit card
checkout_form.php?form=ch for credit check
checkout_form.php?form=ph for phone
since checkout_form is broken down into multiple forms, I am using
session_register to set form type in checkout_form.php
$form_type = $_GET['form'];
session_register('form_type');
The problem is that at times it registers $form_type properly as 'cc,
ch, or ph', but other times it registers $form_type as 'Object'.
Why is it registering sessiong as 'Object'. Anybody experience similar
problem?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php