Parašė Paranoja· 2008 Bir. 22 19:06:03
#1
Mano forma :
<form action='".BASEDIR."infusions/shop_system/shop_edit.php' method='post' >
<input type='hidden' value='" . $row['id'] . "' name='id'>
<input type='hidden' value='" . $row['shop_item'] . "' name='shop_item'>
<input type='hidden' value='" . $row['shop_price'] . "' name='shop'_price'>
<input type='submit' value='$locale[15]' class='button' style='width:130px;'></form>
Atkreipkite dėmesį į paryškintą vietą , pereinam prie shop_edit.php :
<form action='".BASEDIR."infusions/shop_system/shop_editsubmit.php' method='post'>
<input type='hidden' value='".$_POST_['id']."' name='id'>
<input type='text' value='".$_POST['shop_item']."' name='shop_item'>
<input type='text' value='".$_POST['shop_price']."' name='shop_price'>
<select name='shop_type' class='textbox' style='width:130px;'>
<option class='textbox' name='shop_type'>".$locale[9]."</option>
<option class='textbox' name='shop_type'>".$locale[10]."</option>
</select>
<input type='submit' value='Submit' class='button' style='width:130px;'></form>
Pirmas variantas dėl shop_item atvaizduojamas normaliai , antras variantas su shop_price , neatvaizduojamas , any ideas?
Redagavo Paranoja· 2008 Bir. 22 19:06:28