The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Count by username
#1
Hello, I need some help pleasee, I wull like to count some tiket name by username login.

<pre>
Code:
$db = DB::getInstance();
$taskQ = $db->query("SELECT utilizator FROM task WHERE utilizator = $permOp->lname ",array($permOp->lname));
$task_count = $taskQ->count();
</pre>


will cont all my Id not my utilizator why ?
Can you help me ?
  Reply


Messages In This Thread
Count by username - by picassoo - 11-26-2016, 09:59 AM
Count by username - by mudmin - 11-26-2016, 03:01 PM
Count by username - by picassoo - 11-26-2016, 05:15 PM
Count by username - by picassoo - 11-26-2016, 05:29 PM
Count by username - by mudmin - 11-26-2016, 06:41 PM
Count by username - by picassoo - 11-26-2016, 11:24 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)