-
|
I cannot write the results of the n-back task (YouTube tutorial video) to my SQL database. I am new to MySQL but I am sure the database I have created has a table with the right name and the right number of columns, named using https://github.com/vassar-cogscilab/php-mysql-save-data but sadly that method did not work either. With the latter method, the console returns nothing after the experiment completes. With the former methods, the console returns |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hi @legatrix , Are you running on a live server or a local development server at this point? Are you able to login to the database and view the tables OK? I use the helper library you've found all the time, so I'm confident that it works when everything is configured correctly. What does your save data JS code look like? |
Beta Was this translation helpful? Give feedback.
-
|
Dear Josh, I am happy to report that I finally diagnosed the problem! By looking at the error message in the last post, I noticed the "n" was missing from "n-backResults", which led me to rename everything without the hyphen, and it worked. I guess SQL doesn't like hyphens! |
Beta Was this translation helpful? Give feedback.

Dear Josh,
I am happy to report that I finally diagnosed the problem! By looking at the error message in the last post, I noticed the "n" was missing from "n-backResults", which led me to rename everything without the hyphen, and it worked. I guess SQL doesn't like hyphens!