angelsRock Posted October 11, 2007 Share Posted October 11, 2007 hi i have this page A below to upload the data.. the script is for maintaining data.. <?php $package=$_POST['package']; switch ($package) { case "50": $A="selected"; break; case "75": $B="selected"; break; } ?> <body> <select size="1" name="package"> <option value="50" <?php echo "$A " ?> >Premium Package RM50 (with RMXX talktime) </option> <option value="75" <?php echo "$B " ?> >Premium Package RM75 (with RMXX talktime)</option> </select><br> <td width=500 align="right"><input type="submit" name="submitform" value="Upload" ></td></tr></table> </body> if i have page B which is to update the data.. when i click update based on the ID ... i want to link back to the page A to diplay all the data in page A echo"<td><form action=page A.php method=POST><input type=submit name=edit value=Edit> <input type=hidden name=propertyID value=$row[premPropertyID]></form></td>"; how do i display the data in page A which i already have when i click on the EDIT in page B Quote Link to comment https://forums.phpfreaks.com/topic/72773-maintain-data/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.