well im in the process of re-writing the tarot install script.. this version is going to be pretty much automatic, hence the while loop... the problem im having at the moment, is its just flooding out, maybe someone here could point me in the right direction?
[code]<?php
if ($_GET[\'suit\'] && $_GET[\'suit\'] != "table") {
echo "table";
}
else {
$suit = $_GET[\'suit\'];
$file = $suit . \'.txt\';
$num = 2;
$image = \'images/\' . $num . $suit . \'.gif\';
$title = $num . \'Of\' . $suit;
while ($num <= 10) {
if ($num = 10) {
$num = \'Ace\';
}
elseif ($num = \'Ace\') {
$num = \'Page\';
}
elseif ($num = \'Page\') {
$num = \'Knight\';
}
elseif ($num = \'Knight\') {
$num = \'Queen\';
}
elseif ($num = \'Queen\') {
$num = \'King\';
}
echo \'$image $title\';
}
}
?>[/code]
much appreciated




