Berklee user-id to node-id matching script 
- By Tom Adam Shani


****** Description: ******

    Reads the node, users, and field_data_field_last_name tables and compares the data in these tables, then prints out the query to update the tables in the browser window.


****** Installation/Setup: ******
    
    1. Open berklee_users_update.php in a text editor.
    2. Configure the your db username/password/host/database at the top.
    3. Open index.php in your browser.


****** Functionality: ******

    Call nodes:
      Lists all "personas" nodes and their node ids.

    Call user: 
      Lists all "CN=Faculty" users and their user ids.

    Compare tables:
      Compares the nodes and users tables 
      -- correction are a few exceptions that I caught to my rules.
      -- Matched by:
        - full name :       full name (first+last) string comparison
        - first 11 chars :  first 11 characters of full-name
        - last 11 chars :   last 11 characters of full-name
        - substr :          the formatted substring (ex. Foo Bar becomes fbar)

    List only rows to be modified:
      Lists all the rows that will be modified by the query.

    Print out the query:
      Prints out the query!