Jump to content

help with php and mysql for multiple actins on one form


r14_saj

Recommended Posts

hi i am trying to add update and delete and edit a record by using one form and calling three diffrent php scripts although i cant understand how to do so can anyone help

 

my html

 

<html>

 

<head>

 

<title>Saj_Sales_Cars</title>

 

</head>

 

<body>

 

<form action='Saj_Sales_Cars_Admin.php' method='post'>

 

<table border="0">

<tr>

<td>Registration Number:</td>

<td> <input type='text' name='Registration_Number'></td>

 

<td>Road Tax:</td>

<td> <input type='text' name='Road_Tax'></td>

 

<td>Type of transmission: </td>

<td>

<select id ="Type_of_Transmission" name = "Type_of_Transmission">

<option value="Automatic">Automatic</option>

<option value="Manual">Manual</option>

</select>

</td>

 

<td>Sunroof:</td>

<td>

<select id ="Sunroof" name = "Sunroof">

<option value="Yes">Yes</option>

<option value="No">No</option>

</select>

</td>

 

<td>Other Extras:</td>

<td> <input type='text' name='Other_Extras'></td>

</tr>

 

<tr>

<td>Year:</td>

<td>

<select id ="Year" name = "Year">

<option value="1998">1998</option>

<option value="1999">1999</option>

<option value="2000">2000</option>

<option value="2001">2001</option>

<option value="2002">2002</option>

<option value="2003">2003</option>

<option value="2004">2004</option>

<option value="2005">2005</option>

<option value="2006">2006</option>

<option value="2007">2007</option>

<option value="2008">2008</option>

<option value="2009">2009</option>

</select>

</td>

 

<td>Service History:</td>

<td>

<select id ="Service_History" name = "Service_History">

<option value="FSH">FSH</option>

<option value="SH">SH</option>

<option value="No">No</option>

</select>

</td>

</tr>

</table>

 

<br><br>

<input type='submit' value='Insert'>

</form>

</body>

</html>

 

thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.