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? Quote Link to comment 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.