We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated support/comment thread for GreetByName.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Greet your user by name and according to time of day.
      • 33988
      • 110 Posts
      hi, on line 71 on your snippet, there is an error in the sql. it should read
      $sql = "SELECT * FROM $dbase." . $table_prefix . "web_user_attributes WHERE $dbase." . $table_prefix . "web_user_attributes.internalKey = '".$usernameid."';";

      instead of
      $sql = "SELECT * FROM $dbase." . $table_prefix . "web_user_attributes WHERE $dbase." . $table_prefix . "web_user_attributes.internalKey = ".$usernameid.";";

      Merely an error near the end with two missing apostrophes.
      Regards
        Sal Sodano
        President & Co-Founder of SkyToaster
        My Website Salscode.