Javascript inside PHP code
Posted: Fri Mar 11, 2011 1:25 pm
Hi guyz...
I need some with my php code.
I want to have a pop window in my a href link inside the php code.
But I have problems coz there is an error regarding with my script inside the php
Here is my code
echo "<td><img src=".$img[$x]." width='250' height='250'><br>".'<input type="checkbox" name="formVotes[]" value="'.$canId[$x].'" /><br>'.$fName[$x]." ".$mName[$x]." ".$lName[$x]." ".'</input><br> <a href="viewprofile.php?canid='.$canId[$x].'" target="popupWin" onsubmit="return openWindow('addProfile.php', 'popupWin', 1000, 500);">View Profile</a></td>';
I really need your help guyz...
Thank you in advance!
I need some with my php code.
I want to have a pop window in my a href link inside the php code.
But I have problems coz there is an error regarding with my script inside the php
Here is my code
echo "<td><img src=".$img[$x]." width='250' height='250'><br>".'<input type="checkbox" name="formVotes[]" value="'.$canId[$x].'" /><br>'.$fName[$x]." ".$mName[$x]." ".$lName[$x]." ".'</input><br> <a href="viewprofile.php?canid='.$canId[$x].'" target="popupWin" onsubmit="return openWindow('addProfile.php', 'popupWin', 1000, 500);">View Profile</a></td>';
I really need your help guyz...
Thank you in advance!