Hi community,
I created a form using the form wizard. Everything was ok, I saved the form, connected the DB, etc. But when I load the form on Joomla, I get this error message:
Parse error: syntax error, unexpected '-', expecting '{' in /home/linber0/public_html/site-live/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 3
Anyone could give me a clue whats wrong ?
Thanks a lot
Jmauver
I created a form using the form wizard. Everything was ok, I saved the form, connected the DB, etc. But when I load the form on Joomla, I get this error message:
Parse error: syntax error, unexpected '-', expecting '{' in /home/linber0/public_html/site-live/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 3
Anyone could give me a clue whats wrong ?
Thanks a lot
Jmauver
Hi Jmauver,
You probably have a hyphen in one of your field names - this is technically illegal HTML, but more to the point here it gives MySQL indigestion.
You can remove it (or them) and close the space or replace it with an underscore - you will need to change the column names in the database table too. or dump the tabel and create a new one.
Bob
You probably have a hyphen in one of your field names - this is technically illegal HTML, but more to the point here it gives MySQL indigestion.
You can remove it (or them) and close the space or replace it with an underscore - you will need to change the column names in the database table too. or dump the tabel and create a new one.
Bob
This topic is locked and no more replies can be posted.