CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 [RESOLVED]GetRows, array

Print topic Send  topic

Author Message
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? :-D

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
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.