PHP School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a PHP Expert!

Join 307,150 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,695 people online right now. Registration is fast and FREE... Join Now!




Could You explain to me clearly ...

 

Could You explain to me clearly ...

xsufi3

4 Nov, 2009 - 04:53 AM
Post #1

New D.I.C Head
*

Joined: 24 Oct, 2009
Posts: 4


My Contributions
I am so confuse about this php script and sql command which use in this script, I though this array ...

CODE


$sql="SELECT SUM( api_total ) AS valuenttotal, COUNT(*) AS casestotal FROM
api LEFT JOIN agent ON agent.agen_no = api.api_ageno LEFT JOIN grup ON
agent.agen_leader = grup.group_kode_ag WHERE agent.agen_leader='$nama'
GROUP BY group_name";
        $dbs->sql_query($sql);
        if ($dbs->sql_numrows()) {
            while($dbs->next()) {
                $valuenttotal=number_format($dbs->rows('valuenttotal'), 0, ' ', '.');
                $casestotal=$dbs->rows('casestotal');
                
                }
        }else{
            $valuenttotal=0;
            $casestotal=0;
        }


see attachment for detail file...

thx for your attentions and time too smile.gif

xsufi3


Attached File(s)
Attached File  weekreport_group.php ( 5.89k ) Number of downloads: 11

User is offlineProfile CardPM
+Quote Post


Fratyr

RE: Could You Explain To Me Clearly ...

4 Nov, 2009 - 05:44 AM
Post #2

New D.I.C Head
*

Joined: 10 Apr, 2008
Posts: 25


My Contributions
What's your question?
User is offlineProfile CardPM
+Quote Post

xsufi3

RE: Could You Explain To Me Clearly ...

4 Nov, 2009 - 05:59 AM
Post #3

New D.I.C Head
*

Joined: 24 Oct, 2009
Posts: 4


My Contributions
QUOTE(Fratyr @ 4 Nov, 2009 - 05:44 AM) *

What's your question?


I'm sorry

please read my new post, I hope you can help me ...
thx
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 04:31PM

Live PHP Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month