
Baris
Posts: 2
|
| Posted: 11/12/2008, 7:25 AM |
|
Hello,
I have CCS 4.0 and used for a few time. And PostreGreSQL like database.
SELECT count(*) AS erreurs
FROM ((cms_log INNER JOIN bo_langues ON cms_log.id_langue = bo_langues.id_langue)
LEFT JOIN menus ON cms_log.id_menu = menus.id_menu)
WHERE type_categ_log = 3 AND menus.id_langue = bo_langues.id_langue
GROUP BY cms_log.id_langue
i have a count which give me two answer, my table "bo_langues" containing 2 rows.
I would like record the two result in a array
I have 2 others code being like this. I must compare them, and verify if they have the same number of rows
If they don't have the same number of rows in their array, the default value to emply them will be 0. Understand me? 
I don't have other way to do.
SO 
I would like know a method being like "GetRows" in Java for PHP
I would use it with:
object.Recordset.RecordCount [=value]
Frendly,
Baris
|
 |
 |
datadoit
|
| Posted: 11/12/2008, 6:12 PM |
|
http://docs.codecharge.com/studio40/html/Components/RTP...cordsCount.html
|
|
|
 |
Baris
Posts: 2
|
| Posted: 11/13/2008, 2:05 AM |
|
Oh yes
It helped me.
thx datadoit
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 11/13/2008, 5:27 PM |
|
Baris
Could you please add [RESOLVED] or [SOLVED] to your thread title (this is assuming that your question has been answered). Thanks.
|
 |
 |
|

|
|
|
|