php file instead of a function in onclick event
Posted: Thu May 24, 2007 11:13 am
I do have this button
<input type="button" name ="next" onclick="">
for the onclick event I wanna run a php file called next.php.
I tried
<input type="button" name ="next" onclick="<?php include('next.php');?>">
and
<input type="button" name ="next" onclick="<?php run('next.php');?>">
but none of them worked.
any ideas
<input type="button" name ="next" onclick="">
for the onclick event I wanna run a php file called next.php.
I tried
<input type="button" name ="next" onclick="<?php include('next.php');?>">
and
<input type="button" name ="next" onclick="<?php run('next.php');?>">
but none of them worked.
any ideas