Hii Guys,
after many many tries i had to give up.
i want to display a successful message after i insert into the table where the yellow td is something like
“data sucessfully submited”
i want to display it on that specific location of the main form and not on the php file .
so save this to a html file and see what i mean:
<html>
<head>
<basefont face="Arial">
</head>
<body>
<form name='people' method='POST' action="InsertingIntoDb.php">
<table width = '35%' border = '1' cellspacing = '1' cellpadding = '1'>
<tr>
<td>Firstname</td>
<td><input type='text' name='firstname' value='Petter'></td>
</tr>
<tr>
<td>Lastname</td>
<td><input type='text' name='lastname' value='Pankerson'></td>
</tr>
<tr>
<td>Address</td>
<td><input type='text' name='address' value='185 thisISnotaRalAddress street'></td>
</tr>
<tr>
<td>city</td>
<td><input type='text' name='city' value='bronx'></td>
</tr>
<tr>
<td>state</td>
<td><input type='text' name='state' value='yy'</td>
</tr>
<tr>
<td>zipcode</td>
<td><input type='text' name='zipcode' value='55555'></td>
</tr>
<tr>
<td>Phone</td>
<td><input type='text' name='phone' value='1111111111111'></td>
</tr>
<tr>
<td>submit all data</td>
<td><input type='submit' name='submit' value='Insert to DB'></td>
</tr>
<tr>
<td colspan='2' bgcolor='yellow' align='center'>This is where the successful message.</td>
</tr>
</table>
</form>
</body>
</html>
php code:
[php]
[/php]
bt the way my code works.
i didnt manage to display the result message on my html form instead of my php
Thanks ,
wilson B