Created
February 14, 2012 21:49
-
-
Save kokushta/1830799 to your computer and use it in GitHub Desktop.
Liston atrikujt e gazeva online
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
<?php | |
//print this line | |
$q="select * from shtypidites order by date DESC"; | |
$res=mysql_query($q); | |
while ($rec=mysql_fetch_array($res)){ | |
//printout lines | |
echo '<p><a href="'.$rec['artlink'].'" target="_blank">'.$rec['title'].'</a> - '.$rec['newspaper'].' - '.$rec['date'].'</p>' | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment