开发者

Transform output php

I have this, which is calling an integer value 开发者_开发技巧say: 2500.

echo "number_format({$row2['count(cID))";

This gives me an undesired output.

How do I fix this? How am i implementing the function wrong here? (I mean obviously I am)


If I guessed right, you want something like this:

echo number_format($row2['count(cID)']);

I suppose you are getting a column from the database and calling it 'count(cID)', but it's really hard to know what you need. Try providing more details.


Didn't you mean

echo number_format($row2[count($cId)]); 

?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜