I am new to PHP so please bear with me. Here is pseudo-code:
<form method=post name="PostForm" onsubmit="return CheckOffer1();" enctype="multipart/form-data">
<!--------Table-->
<input type=submit name=s1 value="Update">
</form>
So basically what I want to do is to call another php page once the update button is pressed, I will not be posting anything to this page, just displaying. The address for the page I want to display looks like "info.php?id=<?=$a1[ProductID]?>".
How can I make this happen? Thanks in advance for your help.
Thanks Nik, I had already tried doing that, but the records do not get updated by another file edit.php. I think first it needs to go to edit.php and then after the records have been updated then call the display page i.e. "info.php?id=<?=$a1[ProductID]?>". So my question is how can we call another php file, without using submit or click option?
Thanks
<form method=post name="PostForm" onsubmit="return CheckOffer1();" enctype="multipart/form-data">
<!--------Table-->
<input type=submit name=s1 value="Update">
</form>
So basically what I want to do is to call another php page once the update button is pressed, I will not be posting anything to this page, just displaying. The address for the page I want to display looks like "info.php?id=<?=$a1[ProductID]?>".
How can I make this happen? Thanks in advance for your help.
Thanks Nik, I had already tried doing that, but the records do not get updated by another file edit.php. I think first it needs to go to edit.php and then after the records have been updated then call the display page i.e. "info.php?id=<?=$a1[ProductID]?>". So my question is how can we call another php file, without using submit or click option?
Thanks