Now i'm pulling info out of the database using flash

ok, so i got the info all in the database and then i have a php page that goes and retrieves the id that the e-mail sent through. here is my code on the load.php page so far:

<?php
//database connect
require_once("connect.php");

$result = mysql_query(" SELECT * FROM ecard WHERE card = '$card'");

echo $card;

?> 

so now i’ve got all the records of value $card (lets say 8 for this instance) pulled into this php page, how would i go about loading them into flash with loadVars()? for the record names, i used this line to originally insert them:

$result = mysql_query("INSERT into ecard (fname, femail, tname, temail, message) values ('$fromName', '$fromEmail', '$toName', '$toEmail', '$message')");

thanks again everyone, i love you all (and especially that special someone who answers this :P)!