Hey all, I'm having problems implimenting Purchase Order V2.3. I'm trying to install it into the CREloaded version of OSC, which is probably why I'm having problems. I installed everything correctly and I get this error....
"Parse error: parse error, unexpected T_STRING in /home/content/w/e/s/westixsupply/html/store/admin/customers.php on line 243"
So here is my code around line 243.....
[Line 237] tep_redirect(tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action'))));
[238] break;
[239] default:
[240] // Company PO Account start
[241] $customers_query = tep_db_query("select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob, c.customers_credit_account_status, c.customers_credit_amount, c.customers_credit_status, c.customers_credit_left, c.customers_email_address, a.entry_company, a.entry_street_address, a.entry_suburb, a.entry_postcode, a.entry_city, a.entry_state, a.entry_zone_id, a.entry_country_id, c.customers_telephone, c.customers_fax, c.customers_newsletter, c.customers_default_address_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_ADDRESS_BOOK . " a on c.customers_default_address_id = a.address_book_id where a.customers_id = c.customers_id and c.customers_id = '" . (int)$HTTP_GET_VARS['cID'] . "'");
[242] // Company PO Account end
[243] " . TABLE_CUSTOMERS . " c,
[244] " . TABLE_ADDRESS_BOOK . " a
[245] where
[246] a.customers_id = c.customers_id and
[247] a.address_book_id = c.customers_default_address_id and
[248] c.customers_id = '" . (int)$HTTP_GET_VARS['cID'] . "'");
[249] $customers = tep_db_fetch_array($customers_query);
[250] $cInfo = new objectInfo($customers);
[251] }
[252] }
[253] ?>
Any help is greatly appriciated. :x