ccsfan
Posts: 10
|
| Posted: 10/04/2009, 9:10 PM |
|
I modified the SQL in BeforeExecuteSelect.
I want to do something like this in AfterExecuteSelect in order to get the correct number of rows:
$num_rows = mysql_num_rows($Result);
My question is, what do I use for $Result? Of course I could run the query again to get the number of rows but I don't think it's necessary. I need to know how to refer to the query that was just executed.
Thanks.
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 10/05/2009, 2:24 PM |
|
ccsfan,
Maybe this is what you are looking for: http://docs.codecharge.com/studio40/html/index.html?htt.../Order.html?toc
|
 |
 |
ccsfan
Posts: 10
|
| Posted: 10/05/2009, 2:42 PM |
|
Mambo,
Thanks, but that's not it. I just need a way to refer to the query that was just executed.
|
 |
 |
ccsfan
Posts: 10
|
| Posted: 10/05/2009, 5:16 PM |
|
In other words, if I modify the SQL in BeforeExecuteSelect, is there a way to get the number of rows without another call to the database?
|
 |
 |
ccsfan
Posts: 10
|
| Posted: 10/07/2009, 9:04 PM |
|
Bump
|
 |
 |
|