Please am new to web application development.
Can anyone help me out, am trying to specify 2 different folders for picture and video upload and would like the link to those files stored on mysql databaes. The html code i used for video and picture upload are:

<form action="<?php echo $editFormAction; ?>" method="POST"  name="form1" id="form1" encytype="multipart/form-data">
    <input type="hidden" name="MAX_FILE_SIZE" value="500" />
<tr>
          <td>Picture :</td>
          <td><label>
            <input name="picture" type="file" id="picture" size="30" />
          </label></td>
        </tr>
        <tr>
          <td>Picture :</td>
          <td><input name="picture2" type="file" id="picture2" size="30" /></td>
        </tr>
        <tr>
          <td>Picture :</td>
          <td><input name="picture3" type="file" id="picture3" size="30" /></td>
        </tr>
        <tr>
          <td>Video :</td>
          <td><label>
            <input name="video" type="file" id="video" size="30" />
          </label></td>
        </tr>
        <tr>
          <td colspan="2"><div align="center">
              <label>
              <input type="submit" name="property" id="property" value="Make Entry" />
              </label>
          </div></td>
        </tr>
      </table>
      
      <input type="hidden" name="MM_insert" value="form1" />
    </form>

thanks will have a look.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.