This topic is locked

List page events

3/3/2008 11:15:28 AM
PHPRunner General questions
V
vytb author

Hello,
Can the 'select...from' like the one below be used on the list page events?
{
global $conn,$where,$strTableName;

$str = "select field1 from population where table1.id=".$_SESSION[$strTableName."_masterkey1"];

$rs = db_query($str,$conn);

$data1 = db_fetch_array($rs);
$values['field']=$data1['field1'];
}

Sergey Kornilov admin 3/4/2008

You need to tell what you trying to achieve with this code.