CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 2 php

Print topic Send  topic

Author Message
laxman
Posted: 01/24/2002, 11:51 AM

number_of_items = cn.execute("select count(*) from items group by category_id =" & fldcategory_id).fields.item(0)
fldname = fldname & "(" & number_of_items & ")"


this is asp code

ok
what it wul be in php ?
Alex Alexapolsky
Posted: 01/25/2002, 2:32 AM

Please read documentation about phplib , a set of db functions used in CC.

$db->query("select count(*) from items group by category_id =" & fldcategory_id);

if ($db->next_record()) {

$number_of_items = $db->f(0);

}

//this line homework
fldname = fldname & "(" & number_of_items & ")"

   


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.