Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7692847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:56:50+00:00 2026-05-31T20:56:50+00:00

A php script is building the following (very complicated script that is too long

  • 0

A php script is building the following (very complicated script that is too long to post here), but the chrome inspector is giving back “Uncaught SyntaxError: Unexpected token ILLEGAL”. I’m having trouble finding the problem with the html below, any ideas?

<div id='580762bd48bb28c4ce3e1fafe5435969'>
    <div>There is 1 new comment on your <a href="/gci/user/aid1795">activity</a>.</div>
    <img src='/img/close.png' onclick='notificationViewed(3428, 2, 1795, 580762bd48bb28c4ce3e1fafe5435969)'></img>
</div>
</br></br>
<div id='afc89b3105b7a29d764dcebe75d2f5ef'>
    <div>There is 1 new comment on your <a href="/gci/user/aid3">activity</a>.</div>
    <img src='/img/close.png' onclick='notificationViewed(3428, 2, 3, afc89b3105b7a29d764dcebe75d2f5ef)'></img>
</div>
</br></br>
<div id='29f4b2518ab7498273466d4c584c6c2c'>
    <div>There are 2 new comments on your <a href="/gci/forecast/ifp.php?iid=269">comment</a>.</div>
    <img src='/img/close.png' onclick='notificationViewed(3428, 3, ifpgci269, 29f4b2518ab7498273466d4c584c6c2c)'></img>
</div>
</br></br>
<div id='5cbe38a820ff37f4522fc314e14b1fd6'>
    <div>There are 2 new comments on "<a href="/gci/forecast/ifp.php?iid=269">Test1</a>".</div>
    <img src='/img/close.png' onclick='notificationViewed(3428, 1, ifpgci269, 5cbe38a820ff37f4522fc314e14b1fd6)'></img>
</div>
</br></br>
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:56:51+00:00Added an answer on May 31, 2026 at 8:56 pm

    You need to quote the strings in your event function calls:

     onclick='notificationViewed(3428, 1, "ifpgci269", "5cbe38a820ff37f4522fc314e14b1fd6")'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a fairly simple PHP script that will need to send some emails
I'm building a PHP script that feeds JSON data to another script. My script
we are building a PHP script that we need at work to create reports
I have the following php script that is called by jquery ajax function report_range($time,
I am building a php script to search and scrape google pages that uses
I am doing the following: <script type=text/javascript> $(function(){ $(#ipad).submit(function() { $.post(ipadcheck.php, $(#ipad).serialize(), function(data) {
I'm currently building up a PHP script that will answer HTTP 304 Not Modified
A php script is giving this array (which has been passed through json_encode() )
I have created a PHP-script to update a web server that is live inside
I have a PHP script that runs as a CGI program and the HTTP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.