# Total User Bids

**URL:** <https://forum.phpvms.net/t/total-user-bids/4144>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [February 21, 2011, 3:34am UTC](https://forum.phpvms.net/t/total-user-bids/4144 "2011-02-21T03:34:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coryb12](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@coryb12](https://forum.phpvms.net/u/coryb12)\
**Post date:** [February 21, 2011, 3:34am UTC](https://forum.phpvms.net/t/total-user-bids/4144/1 "2011-02-21T03:34:36Z")

</div>

Hello, is there some way to show the total number of bids a user has made? Something similar to the format of:

```
<?php echo Auth::$userinfo->totalflights?>

```

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 22, 2011, 5:08am UTC](https://forum.phpvms.net/t/total-user-bids/4144/2 "2011-02-22T05:08:26Z")

</div>

```
echo count(SchedulesData::getBids(Auth::$userinfo->id));

```

[http://docs.phpvms.net/api/codon\_core/SchedulesData.html#getBids](http://docs.phpvms.net/api/codon_core/SchedulesData.html#getBids)
