Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

349
Views
Uncaught SyntaxError: Unexpected end of input when I want to pass php parameters to a function

In console I get this error in this paragraph, I've been trying for hours to see what's wrong and I can't find it.

    print ("<img id=".$fila["id"]." class=\"imageeenprueeba imagenusuario\" src=".$fila["nombrearchivo"]." alt=".$fila["descripcion"]." width=\"30\" height=\"30\" onclick=\"openImg(".$fila["id"].",\"".$fila["propietario"]."\")\">");
    
   

Any help would be appreciated

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Thank you very much for your help! It's working now! This is the correct code:

print ("<img id=".$fila["id"]." class="imageeenprueeba imagenusuario" src=".$fila["nombrearchivo"]." alt=".$fila["descripcion"]." width="30" height="30" onclick="openImg(".$fila["id"].",'".$fila["propietario"]."')">");

Thank you and best regards

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!