Hello
This board has been so good to me I thought I would try it again. I am working on this one bit of code and I am not sure how to merge it with this other bit.
I have this bit of code
require_once('googlecheckout/gcheckout.php');
and I am trying to place to put it in this one.
if ( ($cart->count_contents() > 0) && ( basename($PHP_SELF) != FILENAME_SHOPPING_CART) && (basename($PHP_SELF) != FILENAME_CHECKOUT_SHIPPING) && ( basename($PHP_SELF) != FILENAME_CHECKOUT_PAYMENT) && ( basename($PHP_SELF) != FILENAME_CHECKOUT_CONFIRMATION) ) { $info_box_contents[] = array('align' => 'center',
'text' => '<strong>- or -</strong><br /><br />$require_once('googlecheckout/gcheckout.php')');;}
//
Notice I have inserted it at the end but I keep getting an error stating Parse error: syntax error, unexpected T_STRING, expecting ')' but I am not sure what it means.
Can anyone help me out?
-Thanks