Scroll down for your interpretation."; //blurb under page header $sigheader = "The Significator "; //card 1 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $sigtext = "represents you and your current state of being."; $crossheader = "The Crossing Card "; //card 2 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $crosstext = "denotes that which opposes or influences you."; $foundationheader = "The Foundation card "; //card 3 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $foundationtext = "addresses the origin of your question."; $recentheader ="The Recent Past "; //card 4 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $recenttext ="represents past events and concerns."; $crownheader = "The Crown "; //card 5 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $crowntext = "issues that are significant in the present or may come to pass in the future. This card foretells future events which may or may not occur, depending upon how you respond to the present situation."; $futureheader = "The Future "; //card 6 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $futuretext = "depicts that which lies ahead."; $emotionsheader = "Emotions "; //card 7 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $emotionstext = "card signifies the current state of your emotional self."; $externheader ="External Forces "; //card 8 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $externtext = "represents the influence of others in your life as well as trends in your relationships with others."; $hopesheader = "Hopes and Desires "; //card 9 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $hopestext = "stands for the hopes and desires you have for the outcome of your question."; $outcomeheader = "The Outcome "; //card 10 in lower table ***NOTICE THE SPACE AT THE STRING'S END *** $outcometext = "of your question. Remember the future is not predetermined. Interpret this card in the context of the entire reading and as an indicator of the path you are currently on, but not bound to."; $con= @mysql_connect("$host","$user","$pass"); if(!$con) { $connect_error = "Failed at mysql_connect. "; echo"error at db connect"; exit(); } srand((double)microtime()*1000000); $maxnumber = 9; $count= 0; $count2 = 0; $index = 0; $cardcount = 0; $cardindex = 0; $type[0] = 0; $cards[0] = 0; $thecards[0][0] = 0; $typeFlag = 0; while($count <= $maxnumber) { $number = rand(0,52); for($index; $index <= $maxnumber; $index++) { if($cards[$index] == $number) { $number = rand(0,52); $index = -1; } } $cards[$count] = $number; $query = "SELECT * FROM $table WHERE (card = '$cards[$count]')"; $result = @mysql_db_query($db, $query); $r = mysql_fetch_array($result); if(!$result) { $query_error = "Failed at the mysql_db_query."; echo"$query_error"; exit(); } else { $indice = 0; $thecards[$count][$indice] = $r["title"]; $test2 = $r["card"]; //echo"$test2 <-------no array value test <--->cards count --> $cards[$count]
"; $test = $thecards[$count][$indice]; //echo"$test <-------test
"; $indice++; $thecards[$count][$indice] = $r["description"]; $indice++; $thecards[$count][$indice] = $r["thumb"]; $indice++; $thecards[$count][$indice] = $r["limage"]; $typeNum[$count] = $r["type"]; } $count++; $index = 0; } for($count2 = 0; $count2 <= $maxnumber; $count2++) { $id = $typeNum[$count2]; $theType[$id] = $theType[$id] + 1; if($theType[$id] == 2 || $theType[$id] == 3 || $theType[$id] == 4) { $typeFlag = 1; } } $count = 0; $index = 0; ?>
" size="">
 
" face="" size="">
face="" size="">
 
" size="">" src="/" vspace="3" width="" height=""> " size="">" src="/" vspace="3" width="" height="">

" size="">" src="/" vspace="3" width="" height="">

" size="">" src="/" vspace="3" width="" height="">

" size="">" src="/" vspace="3" width="" height="" >
" size="">" src="/" vspace="3" width="" height="" > " size="">" src="/" vspace="3" width="" height="" >
" src="/" vspace="3" width="" height="" >
" size="">" src="/" vspace="3" width="" height="">
" size="">" src="/" vspace="3" width="" height="" >
   
"; } ?>
" size="" color="">" size=""> ">
" size=""> " src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">"> ">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" face="" size="">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" face="" size="">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" size="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

 

 

" face="">">" size="" face="">
" size="">" src="/" width="" height="" >"
 
" face="" size="">

" face="" size="">

Other Influences are factors that may effect your spread or even have effects beyond the boundaries of this reading.
"; for($count = 0; $count <= 12; $count++) { if( $theType[$count] == 2 || $theType[$count] == 3 || $theType[$count] == 4) { // echo"$theType[$count] <-- the Id ---> $count
"; $query = "SELECT description FROM type WHERE (num = '$count' and num2 = '$theType[$count]')"; $result = @mysql_db_query($db, $query); $r = mysql_fetch_array($result); $description = $r["description"]; echo"$description
"; } } echo"
" size="">

"

" size="">