Skip to content

Javascript SQL Data  #36

@Sharabesh

Description

@Sharabesh

As we discussed, the SQL data was added to the variable "Test" in the Brainspell.php document using the Str_replace function. All of the code is within lines 1543 and 1610. The dictionaries in the variable can be used, but the location data itself is still nested as a string and needs to be parsed.

Here's my branch with I believe the most updated code
https://github.com/Sharabesh/brainspell/tree/Sharabesh_updated

Here's where I set the HTML Variable to an array containing the Database to be parsed in the Javascript
https://github.com/BIDS-collaborative/brainspell/compare/BIDS-collaborative...Sharabesh:Sharabesh_updated#diff-256f7777bc064f9f85c8ecb005d3c8abR1596

And here is the variable declaration in Search.html;

https://github.com/BIDS-collaborative/brainspell/compare/BIDS-collaborative...Sharabesh:Sharabesh_updated#diff-4bc774c1cdab1ae9d323d6c298e20ed6R93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions