Not understanding ...
My question is I have this recordset that I want to make global (if I am understanding this correctly):
<?php
$rs_select = new WA_MySQLi_RS("rs_select",$MyConnection,1);
$rs_select->setQuery("SELECT emailaddr, fullname, username, password FROM v_MemberProfile WHERE persSeq = ?");
$rs_select->bindParam("i", "".(isset($_GET['persSeq'])?$_GET['persSeq']:"") ."", "-1"); //colname
$rs_select->execute();
?>
Do I just make this statement
<?php
$mylocalvariable = "$rs_select";
function writeLocalVariable() {
global $mylocalvariable;
echo($mylocalvariable);
}
writeLocalVariable();
?>