Unexpected T_STRING PHP Insert Into MySQL-Collection of common programming errors


  • user586011

    I am receiving a syntax error on the following line, have replaced variables with real values and tried different arraignments, any suggestions appreciated:

    $query = "INSERT INTO happyturtle (time, ad1) VALUES (00987,'www.hats.com')";
    

    error itself is “Parse error: syntax error, unexpected T_STRING in /home/content/53/7382753/html/Summer/wootsummer.php on line 71”

    wootsummer.php is bellow