Hi All
I am trying to call a php function from the onclick event of a button.
I am used the following code, but keep getting the error.
Error: '$SummitNo is not defined. Do you wish to debug.
I have found this is very different from my other php errors as a dialog box is displayed with yes/no
here is my code
<?php
include ('book_sc_fns.php');
$SummitNo = "189";
echo $SummitNo;
echo '<form>';
echo '<input type="button" value="Click me!" onclick="display_fell_details($SummitNo)" >';
echo '</form>';
?>
the function display_fell_details is working fine as I have used it on numerous occassions.
Hope someone can help
Jamie