View Single Post
Old 08-19-2005, 07:31 PM   #5 (permalink)
salmanjoo
Registered User
 
Join Date: Aug 2005
Posts: 18
salmanjoo is on a distinguished road
its not working about u r saying i did like this but its not working
is this rite way how should i do
<?php
if($_POST ['edit'])
{
?>
<form name="form1" method="post" action="editfile.php">
<?
}
if($_POST['upload'])
{
?>
<form name="form1" method="post" action="upload.php">
<?php
}
?>
<input type="text" name="textfield">
<input name="edit" type="submit" id="edit" value="EDIT">
<input name="upload" type="submit" id="upload" value="UPLOAD FILES">
</form>
salmanjoo is offline   Reply With Quote