harkly Posted December 27, 2008 Share Posted December 27, 2008 I am using a form to pull info from the database. Once I have one person's info and I want to go to another it wont let me. The URL doesn't change. If I go "Home" then I can get to another's info. Also, when I hover over the "GO" button the info is for the 1st person's info. Any ideas? I've included some code but not really sure which part to include. My navigation page: <table width="100%" cellpadding="0" border=0> <tr> <td><a href="admin.php"><strong><h4>Home</strong></a> <?php if (isset($_SESSION['art_admin'])) { // Search Form echo "<form name='search' method='post'>\n"; echo "<h4>Search\n"; echo "<select NAME='field'>\n"; echo "<option value='artist'>Artist</option>\n"; echo "<option value='image'>Image</option>\n"; echo "<option value='medium'>Medium</option>\n"; echo "<option value='movement'>Movement</option>\n"; echo "<option value='museum'>Museum</option>\n"; echo "<option value='genre'>Genre</option>\n"; echo "<option value='period'>Period</option>\n"; echo "</Select>\n"; echo "for <input type='text' name='find' />\n"; echo "<input type='submit' name='search' value='Go' />\n"; echo "<input name='content' type='hidden' value='ifElse' />\n"; echo "</form>\n"; // Add Form echo "<form name='add' method='post'>\n"; echo "<h4>Add a new\n"; echo "<select NAME='field'>\n"; echo "<option value='artist'>Artist</option>\n"; echo "<option value='image'>Image</option>\n"; echo "<option value='medium'>Medium</option>\n"; echo "<option value='movement'>Movement</option>\n"; echo "<option value='museum'>Museum</option>\n"; echo "<option value='genre'>Genre</option>\n"; echo "<option value='period'>Period</option>\n"; echo "</Select>\n"; echo "<input type='submit' name='add' value='Go' />\n"; echo "<input name='content' type='hidden' value='add' />\n"; echo "</form>\n"; } ?> </table> Link to comment https://forums.phpfreaks.com/topic/138588-page-not-refreshing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.