Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $temp = $id;
- $query1 = "SELECT * FROM Anlage WHERE AS_ID = $id AND TypID = 3";
- $result1= mysql_query( $query1 );
- $n1 = mysql_num_rows($result1);
- if (mysql_num_rows($result1)==0)
- { ?>
- <tr>
- <td colspan="2"> </td>
- </tr>
- <?php }
- else
- {
- foreach($result1 as row) {
- {
- //$datensatz1 = mysql_fetch_array( $result1 );?>
- <tr>
- <td colspan="2" align="right"><a href="../Files/Import/<?php echo $row['DateID'];?>" target="_blank"><?php echo $row['DateID'];?></a><input type="hidden" name="form_DateiID" value="<?php echo $row['DateID'];?>"><input type="submit" value="X" name="remove" onclick="return confirm('Eintrag <?php echo $row['DateID'];?> wirklich löschen?')"/></td>
- </tr>
- <?php } } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement