Hi,
I've a problem with javascript and php links:
What I wanna do:
By means of a hyperlink opening a pop-up window and displaying a php-file (passing the variables i know how to)
Problem: got javascript error
I use following script:
<HEAD>
<script>
function openpopup(){
var popurl="news/news_display.php"
winpops=window.open(popurl,"","width=500,height=200,")
}
</script>
</HEAD>
And I use the following link:
<?php echo "<a class=news href=javascript:openpopup()?news_id=" . $news['news_id'] .">" . 'More ...' ?></a>
Can someone be so kind to help me with this ?
Thanks in advance,
Gijs