Jump to content

[SOLVED] trying to use php code and java to open on extra small win


mpempas

Recommended Posts

Hello,

 

im trying to make a link and when click on it it will open a link to a small win (i have that code and its working)

but i cant make it work with php

 

Thisi s the original code wihich is working with html

<a href="javascript:ReadAnnouncement(' $row['id_press'];',' $row['id_press'];');">

 

  echo "<td class='selOverview'><a href=\"javascript:ReadAnnouncement(' $row['id_press'];',' $row['id_press'];')" . $row['title'] . "</a></td>";

 

Any help pls?

Sorry about that

 

echo "<td class='selOverview'><a href=\"javascript:ReadAnnouncement('".$row['id_press'].";','".$row['id_press'].";')\">" . $row['title'] . "</a></td>";

 

Try this.  There may be an extra quote in the javascript portion.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.