chrometweaks.org

How are domain name companies (like iPage.com) able to sell domain names?

Click Here To View All Answers...


First question I have is How are domain name companies (like iPage.com) able to sell domain names? Hoping for any answer or 2. My other question... I have :.

While ($row=@mysql_fetch_array($result)) {.

Echo (".

<tr>.

<td><div align='center'>$row[3]</div></td>");.

}.

Until here works fine I have 4 row in $row[3].

200.

230.

240.

252.

$MonTotal.

But how should I do if I want to get 200+230+240+252 = $MonTotal.

$row[3][0] +$row[3][1] +$row[3][2] ... ???????.

Thanks in advance.

?????..

Comments (68)

I'm stumped. I'm not so sure what is the right answer to your question. I'll do some research in Google and get back to you if I discover an answer. You should email the people at iPage as they probably could help you..

Comment #1

I have a look on this thanks a lot.

Im reading some about it but you know some more about it??.

Thanks..

Comment #2

But how you get the result after ???.

$query4="SELECT SUM(Montant) FROM t_debiteurs WHERE Idx='$IdxDebiteur' ";.

$result4=mysql_query($query4);.

The debiteurs has 4 invoice in "t_debiteurs" I want to get the sum of the 4 invoice???.

Thanks..

Comment #3

That is not working.

I CANT GET $total !!!!.

$query4="SELECT SUM(Montant) AS total FROM t_debiteurs.

WHERE Idx='$IdxDebiteur' ";.

$result4=mysql_query($query4);.

$ii=0;.

While ($row4=@mysql_fetch_array($result4)) {.

$ii++;.

$total[$ii]= $row4['total'];.

Echo (".

<tr>.

<td></td>.

<td></td>.

<td></td>.

<td><div align='center'>$total</div></td>.

<td><div align='center'></div></td>.

<td><div align='center'></div></td>.

<td></td>.

</tr>.

");.

}..

Comment #4

$query4="SELECT SUM(Montant) AS total FROM t_debiteurs.

WHERE Idx='$IdxDebiteur' ";.

$result4=mysql_query($query4);.

$total = $result4['total'];.

Echo (".

<tr>.

<td></td>.

<td></td>.

<td></td>.

<td><div align='center'>$total</div></td>.

<td><div align='center'></div></td>.

<td><div align='center'></div></td>.

<td></td>.

</tr>.

");..

Comment #5

What I do with that.

Please.

While (!succeed) {try()};..

Comment #6

I have :.

While ($row=@mysql_fetch_array($result)) {.

Echo (".

<tr>.

<td><div align='center'>$row[3]</div></td>");.

}.

Until here works fine I have 4 row in $row[3].

200.

230.

240.

252.

$MonTotal.

But how should I do if I want to get 200+230+240+252 = $MonTotal.

$row[3][0] +$row[3][1] +$row[3][2] ... ???????.

Thanks in advance.

?????..

Comment #7

You can get the total with the select statement..

Select sum(column_name) as sum ... rest of your select statement...

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.