- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$db = new PDO("mysql:host=" . $config['dbhost'] . ";dbname=" . $config['dbname'], $config['dbuser'], $config['dbpassword']);
$db->exec("set names utf8");
$result = $db->query("call get_user_account('$session_id');");
foreach ($result as $row)
{
die($row['account']);
}
die("err");
Dreyk 16.04.2010 19:44 # 0
guest 16.04.2010 20:02 # −11.2