Parse error: syntax error, unexpected '-', expecting ',' or ';'
5 views
Skip to first unread message
mtb24
unread,
Oct 31, 2009, 3:23:43 PM10/31/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Php Object Generator
I just generated some objects, edited (and renamed) config file, and
when I run setup, click the "Pog Me Up" button - I get an error about
a dash in my table column names.
Can't find this error in previous posts....
The error:
Parse error: syntax error, unexpected '-', expecting ',' or ';' in /
home/indoorcy/public_html/testing/pog/objects/
class.commissionjunction.php on line 43
This part of the generated code is referenced by the error:
class CommissionJunction extends POG_Base
{
public $commissionjunctionId = '';
/**
* @var VARCHAR(255)
*/
public $ad-id;
/**
* @var VARCHAR(255)
*/
public $advertiser-id;
/**
* @var VARCHAR(255)
*/
public $advertiser-name;