Test: Unterschied zwischen den Versionen
GISWiki - Das freie Portal für Geoinformatik (GIS)
HeinzJ (Diskussion | Beiträge) |
HeinzJ (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | + | <code php> | |
− | + | <?php | |
+ | |||
+ | // Zugriff auf die private-Datei | ||
+ | include("./_private/Projektconnect.inc.php"); | ||
+ | $connID = connect_to_Projekt(); | ||
+ | |||
+ | //************************************************************************** | ||
+ | // Abfrage ausführen | ||
+ | $result = mysql_query("select * from verkauf where userID = '$formID'"); | ||
+ | $rows = mysql_fetch_row($result); | ||
+ | $newBild = $rows[36]; | ||
+ | ?> | ||
+ | |||
+ | <html> | ||
+ | <head> | ||
+ | <title>Bild</title> | ||
+ | </head> | ||
+ | <body> | ||
+ | |||
+ | <style type="text/css"> | ||
+ | <!-- | ||
+ | body {margin-top: 0%; margin-left: 2%; margin-right: 2%} | ||
+ | a {text-decoration: none} | ||
+ | #hline20 {margin-top: 0pt; margin-bottom: 0pt} | ||
+ | --> | ||
+ | </style> | ||
+ | |||
+ | |||
+ | <input type=image src="<? echo $newBild; ?>"> | ||
+ | </body> | ||
+ | </html> | ||
+ | |||
+ | |||
+ | </code> |
Version vom 10. Oktober 2006, 09:33 Uhr
<?php
// Zugriff auf die private-Datei include("./_private/Projektconnect.inc.php"); $connID = connect_to_Projekt();
//************************************************************************** // Abfrage ausführen $result = mysql_query("select * from verkauf where userID = '$formID'"); $rows = mysql_fetch_row($result); $newBild = $rows[36]; ?>
<html> <head> <title>Bild</title> </head> <body>
<style type="text/css"> </style>
<input type=image src="<? echo $newBild; ?>">
</body>
</html>