<?php
$target_dir = "uploads/";
if(isset($_POST['submit']))
{
$file_name = $_FILES['fileUpload']['name'];
$file_tmp = $_FILES['fileUpload']['tmp_name'];
if($check !== false) {
echo "uspjelo";
} else {
echo "nije uspjelo";
}
}
?>
<form method="post" enctype="multipart/form-data">
<table class="buttons width-25">
<tr>
<td>
<p>1. Tehnicar racunarstva</p>
<!-- <a href="http://www.google.com">Link1 goes here</a> -->
</td>
<td>
<td>
<input type="file" name="fileUpload" id="fileUpload">
<label class="buttons custom" for="file-upload">IZABERI FILE</label>
<!-- <a href="http://www.google.com">Link2<br>goes<br>here</a> -->
</td>
<td>
<!--<button type="submit" class="buttons submit" name="submit" value="submit">UPLOAD</button>-->
<!-- <a href="http://www.google.com">Link3<br>goes<br>here</a> -->
</td>
<!--
<td>
<a href="http://www.google.com">Link4<br>goes<br>here</a>
</td>
-->
</tr>
<tr>
<td>
<p>2. Tehnicar elektronike</p>
<!-- <a href="http://www.google.com">Link1 goes here</a> -->
</td>
<td>
<td>
<input id="file-upload" type="file" />
<label class="buttons custom" for="file-upload">IZABERI FILE</label>
<!-- <a href="http://www.google.com">Link2<br>goes<br>here</a> -->
</td>
<td>
<!--<button type="submit" class="buttons submit" name="submit" value="submit">UPLOAD</button>-->
<!-- <a href="http://www.google.com">Link3<br>goes<br>here</a> -->
</td>
<!--
<td>
<a href="http://www.google.com">Link4<br>goes<br>here</a>
</td>
-->
</tr>
<tr>
<td>
<p>3. Tehnicarelektro-energetike</p>
<!-- <a href="http://www.google.com">Link1 goes here</a> -->
</td>
<td>
<td>
<input id="file-upload" type="file" />
<label class="buttons custom" for="file-upload">IZABERI FILE</label>
<!-- <a href="http://www.google.com">Link2<br>goes<br>here</a> -->
</td>
<td>
<!--<button type="submit" class="buttons submit" name="submit" value="submit">UPLOAD</button>-->
<!-- <a href="http://www.google.com">Link3<br>goes<br>here</a> -->
</td>
<!--
<td>
<a href="http://www.google.com">Link4<br>goes<br>here</a>
</td>
-->
</tr>
<tr>
<td>
<p>4. Tehnicar mehatronike</p>
<!-- <a href="http://www.google.com">Link1 goes here</a> -->
</td>
<td>
<td>
<input id="file-upload" type="file" />
<label class="buttons custom" for="file-upload">IZABERI FILE</label>
<!-- <a href="http://www.google.com">Link2<br>goes<br>here</a> -->
</td>
<td>
<!-- <button type="submit" class="buttons submit" name="submit" value="submit">UPLOAD</button>-->
<!-- <a href="http://www.google.com">Link3<br>goes<br>here</a> -->
</td>
<!--
<td>
<a href="http://www.google.com">Link4<br>goes<br>here</a>
</td>
-->
</tr>
<tr>
<td>
<p>5. Elektricar </p>
<!-- <a href="http://www.google.com">Link1 goes here</a> -->
</td>
<td>
<td>
<input id="file-upload" type="file" />
<label class="buttons custom" for="file-upload">IZABERI FILE</label>
<!-- <a href="http://www.google.com">Link2<br>goes<br>here</a> -->
</td>
<td>
<button type="submit" class="buttons submit" name="submit" value="submit">UPLOAD</button>
<!-- <a href="http://www.google.com">Link3<br>goes<br>here</a> -->
</td>
<!--
<td>
<a href="http://www.google.com">Link4<br>goes<br>here</a>
</td>
-->
</tr>
</table>
</form>