![]() |
Sergey Kornilov admin 3/3/2010 |
In version 5.2 you need to use the following: $rs = $dal->Table["tablename"]->Query($SQLstatement);
|
W
|
wpl author 3/3/2010 |
In version 5.2 you need to use the following: $rs = $dal->Table["tablename"]->Query($SQLstatement);
|
![]() |
Sergey Kornilov admin 3/3/2010 |
I guess I owe a full explanation. $dal->Table("tablename")->Query($SQLstatement);
$dal->Table("public_tablename"); // initialization |
W
|
wpl author 3/3/2010 |
I guess I owe a full explanation. In version 5.1 you can use both ways. This works nice however increases the amount of code and slows down execution. In PHPRunner 5.2 we have changed that so DAL objects are created on demand. $dal->Table["tablename"]->Query($SQLstatement);
$dal->Table["public_tablename"]; // initialization
|
![]() |
Sergey Kornilov admin 3/3/2010 |
My fault, Table() is a function. Updated my post. |
E
|
electromotive 3/3/2010 |
Thanks for clearing this up, I've been messing with it the past day tryna get it working too <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=48223&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
![]() |
Sergey Kornilov admin 3/4/2010 |
electro rick, |
W
|
wpl author 3/4/2010 |
My fault, Table() is a function. Updated my post.
|
W
|
wpl author 3/4/2010 |
In version 5.2 you need to use the following: $rs = $dal->Table["tablename"]->Query($SQLstatement);
|