Hi! I have problem with save form to database. In form names and in names column in DB i used only legal character ([a-z] and "_"). I refreshed DB (in settings I change Enable to "No", I saved and change to "Yes" and I saved again) but when I submit my form, I see:
"Parse error: syntax error, unexpected T_VAR, expecting '{' in /virtual/zniewoleni.cba.pl/administrator/components/com_chronoforms/form_actions/db_save/db_save.php(66) : eval()'d code on line 4"
How can I solve this problem?
PS.
I'm sorry, if I wasn't wrote good. I'm from Poland and I don't speak in English good.
"Parse error: syntax error, unexpected T_VAR, expecting '{' in /virtual/zniewoleni.cba.pl/administrator/components/com_chronoforms/form_actions/db_save/db_save.php(66) : eval()'d code on line 4"
How can I solve this problem?
PS.
I'm sorry, if I wasn't wrote good. I'm from Poland and I don't speak in English good.
Hi! I'm trying with different settings and I found where was the problem: When I click "Create Table", in field "Table Name" was:
I greet.
#__chronoforms_data_Title
. When I deleted "#" from Table Name, form started work corretly. So problem was solved but thank you for quick response🙂I greet.
Hi wiciu2.0,
The #__ prefix should be OK, the first #_ is replaced with the table prefix set for your site e.g. #__some_table becomes jos_some_table. This allows the came code to be used on different sites with different table prefixes set.
I guess it might fail if there is no prefix set??
Bob
The #__ prefix should be OK, the first #_ is replaced with the table prefix set for your site e.g. #__some_table becomes jos_some_table. This allows the came code to be used on different sites with different table prefixes set.
I guess it might fail if there is no prefix set??
Bob
This topic is locked and no more replies can be posted.