Hi!
I am trying to achieve the following:
I have a number of help pages (in the format help_nn.php where nn=helpid).
I want to be able to open a particular help page by calling the function
gethelp(nn) where nn is the helpid.
The function is contained in a header file called funcs.inc that each page
loads up when it loads.
the function currently looks like this:
<?
function gethelp($helpid ="1") {
$helppage="help _" . $helpid . ".php";
?>
<script language="javas cript">
window.open ('<? echo $helppage />
','location=no' ,'menubar=no',' status=no','hei ght=500','width =300');
</script>
<?
}
....which obviously doesnt work. If someone (who gets what im trying to do)
could give me a shove in the right direction, it would be appreciated. Its
been a long time since I used PHP....
Cheers
EK
I am trying to achieve the following:
I have a number of help pages (in the format help_nn.php where nn=helpid).
I want to be able to open a particular help page by calling the function
gethelp(nn) where nn is the helpid.
The function is contained in a header file called funcs.inc that each page
loads up when it loads.
the function currently looks like this:
<?
function gethelp($helpid ="1") {
$helppage="help _" . $helpid . ".php";
?>
<script language="javas cript">
window.open ('<? echo $helppage />
','location=no' ,'menubar=no',' status=no','hei ght=500','width =300');
</script>
<?
}
....which obviously doesnt work. If someone (who gets what im trying to do)
could give me a shove in the right direction, it would be appreciated. Its
been a long time since I used PHP....
Cheers
EK
Comment