sungpeng Posted March 25, 2009 Share Posted March 25, 2009 I have fields img1, img2, img3, img4, img5, img6, img7, img8, img9 in mysql. Given 3 input box only for($i=1; $i<=3; $i++){ echo "<tr><td>text $i</td></tr>"; echo "<tr><td><input type=text name='text[]''></td></tr>"; } I need a code that can insert 3 values into mysql above fields if the fields is empty. How to code? Can help? Link to comment https://forums.phpfreaks.com/topic/150993-insert-3-at-one-go-in-multiple-fields/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.