Hello
I have used the following php script in the form action to determine whether
to post the same page again or open the php file called excelsave.php
depending on which of two submit buttons is pressed in the form
<form action="<?php if(isset($updat estats)){
echo $_SERVER['PHP_SELF'];
}else{
?>excelsave.php <?php
}?>" method="post" enctype="multip art/form-data"
name="savestatm ents">
problem is whatever button is pressed the excel.php is run. what is wrong
with my 'if.. ' statement?
ian
I have used the following php script in the form action to determine whether
to post the same page again or open the php file called excelsave.php
depending on which of two submit buttons is pressed in the form
<form action="<?php if(isset($updat estats)){
echo $_SERVER['PHP_SELF'];
}else{
?>excelsave.php <?php
}?>" method="post" enctype="multip art/form-data"
name="savestatm ents">
problem is whatever button is pressed the excel.php is run. what is wrong
with my 'if.. ' statement?
ian
Comment