of course
this is my html code which opens javascript popup when click
<html>
<head>
<meta http-equiv="Content-Language" content="tr">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>PORTAL</title>
</head>
<body bgcolor="#C0C0C0">
<p align="center"><u><font face="Arial Black" size="4>PORTAL</font></u></p>
<hr>
<ul>
<li>
<p align="left">
<?
@mysql_connect("localhost", "root", "")
or die("Veritabani ile baglanti kurulamadi!");
@mysql_select_db("portal")
or die("Veritabaninda bir hata olustu!");
$sql = "SELECT post_subject FROM asd_uo_text WHERE post_id = '1'";
$res = mysql_query($sql) OR die(mysql_error());
$row = mysql_fetch_row($res);
echo"<a href=javascript:window.open('mywindow.php','new','scrollbars=0,resize=no'); >($row[0])</a>";
?>
<form action="duzenle.php" method="get">
<input type="submit" value=" Show "></form>
</li>
<li>
<p align="left">
<?
$sql2 = "SELECT post_subject FROM asd_uo_text WHERE post_id = '2'";
$res2 = mysql_query($sql2) OR die(mysql_error());
$row2 = mysql_fetch_row($res2);
echo"<a href=javascript:window.open('mywindow.php','new','scrollbars=0,resize=no'); >($row2[0])</a>";
?>
<form action="duzenle2.php" method="get">
<input type="submit" value=" Show "></form>
</li>
<li>
<p align="left">
<?
$sql3 = "SELECT post_subject FROM asd_uo_text WHERE post_id = '3'";
$res3 = mysql_query($sql3) OR die(mysql_error());
$row3 = mysql_fetch_row($res3);
echo"<a href=javascript:window.open('mywindow.php','new','scrollbars=0,resize=no'); >($row3[0])</a>";
?>
<form action="duzenle3.php" method="get">
<input type="submit" value=" Show "></form>
</li>
<li>
<p align="left">
<?
$sql4 = "SELECT post_subject FROM asd_uo_text WHERE post_id = '4'";
$res4 = mysql_query($sql4) OR die(mysql_error());
$row4 = mysql_fetch_row($res4);
echo"<a href=javascript:window.open('mywindow.php','new','scrollbars=0,resize=no'); >($row4[0])</a>";
?>
<form action="duzenle4.php" method="get">
<input type="submit" value=" Show"></form>
</li>
<li>
<p align="left">
<?
$sql5 = "SELECT post_subject FROM asd_uo_text WHERE post_id = '5'";
$res5 = mysql_query($sql5) OR die(mysql_error());
$row5 = mysql_fetch_row($res5);
echo"<a href=javascript:window.open('mywindow.php','new','scrollbars=0,resize=no'); >($row5[0])</a>";
?>
<form action="duzenle5.php" method="get">
<input type="submit" value=" Show "></form>
</li>
</ul>
<p align="left"> </p>
<p align="left"> </p>
</body>
</html>
And I want content which is under mysql shown in that pop up like this
mysql_connect("localhost","root","");
mysql_select_db("portal");
$query="select post_subject,post_text from asd_uo_text where post_id = '1'";
$sonuc=mysql_query($query);
$obje=mysql_fetch_object($sonuc);
$subject=$obje->post_subject;
$content=$obje->post_text;
and i want showing this content inside of that pop up