Last active
August 29, 2015 14:18
-
-
Save mcloide/df1204a3ead384bcd9bc to your computer and use it in GitHub Desktop.
google-php-community-help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<?php | |
$query = "select * from ad where id='0'"; | |
$result = mysql_query($query); | |
$row = mysql_fetch_assoc($result); | |
$abc = urlencode($row['ad_link']); | |
?> | |
<a target="_blank" href="<?php echo $abc; ?>" rel="tag"> | |
<img height="250" width="300" src="data:image;base64,<?php echo $row['image_data']; ?>"> | |
</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment