Quote:
Originally Posted by NickSunshine
this is my fault for not completely reading your first post.
for some reason i thought you only wanted one line...
PHP Code:
<?
$a=file('textfile.txt');
array_shuffle($a);
for each($a as $line){
print("<a href='../models/" . $line . "'><img src='../models/" . $line . "/thumb.jpg' />" . ucwords($line) . "</a>");
}
?>
|
what should the txt file look like?
samantha thumb.jpg text here?