Quote:
Originally Posted by Lynne
Are those variable defined? And you probably need to do something along the lines of:
PHP Code:
$db->query_write("INSERT INTO " . TABLE_PREFIX . "osc_address_format VALUES ('1', '".$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country."','".$city / $country."')");
|
Hi,
Tried that and it gives this error when installing the plugin:
Parse error: syntax error, unexpected T_VARIABLE in
/var/www/html/test/vb4/includes/adminfunctions_plugin.php(450) : eval()'d code online
605
They are defined in the app.
They should look like this in the database.