php pop up link please help!
Posted: Fri Oct 08, 2010 2:30 pm
hi guys! really need help here...
Can you help me link to pop up window inside in the php code <?php put a link to call pop up?.... ?>
the problem here is when I click the link it will just link to a new tab not pop window...please help
here is my code:
Can you help me link to pop up window inside in the php code <?php put a link to call pop up?.... ?>
the problem here is when I click the link it will just link to a new tab not pop window...please help
here is my code:
Code: Select all
echo "<th>Position</th>";
echo "<th>Name</th>";
echo "<th>Party</th>";
echo "<th colspan=2>Action</th>";
echo "</tr>";
$tempQuery2 = "Select c.*,s.* from tbluser s,tblCandidatesInfo c where c.fldCanId=s.fldIDNum and fldElecCode='$_REQUEST[reqID]' order by c.fldNum";
$resultTemp2 = mysql_query($tempQuery2) or die('Error: '.mysql_error ());
while ($row1 = mysql_fetch_array($resultTemp2)){
echo "<tr>";
echo "<td>" .$row1['fldPosName']. "</td>";
echo "<td>" .$row1['fldFname']." ".$row1['fldMI']." ".$row1['fldLname']. "</td>";
echo "<td>" .$row1['fldParty']. "</td>";
echo "<td><a href='editCanPage.php?reqID='$row[fldElecCode]' onclick='popUp(editCanPage.php,'console',400,200); return false;' target='_blank'>".'Edit'."</a></td>";
echo "</tr>";
}