473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Severity: Warning, when i try to update am using codeigniter.

Message: Missing argument 16 for Attendance_model::adddb(), called in /var/www/html/payroll/application/controllers/Attendance.php on line 48 and defined

Filename: models/Attendance_model.php

Line Number: 81

Backtrace:

File: /var/www/html/payroll/application/models/Attendance_model.php
Line: 81
Function: _error_handler

File: /var/www/html/payroll/application/controllers/Attendance.php
Line: 48
Function: adddb

File: /var/www/html/payroll/index.php
Line: 292
Function: require_once



line 48 is
Expand|Select|Wrap|Line Numbers
  1.  $this->input->post('AddNPCode');

line 81 is
Expand|Select|Wrap|Line Numbers
  1.  function adddb($PostDate,$DeptCode,$LocCode,$LocName,$Shift,$AttnID,$EmpNo,$EmpName,$Designation,$DayInTime,$EatingOutTime,$EatingInTime,$DayOutTime,$InOutHrs,$TotalHrs,$NPCode)
Nov 9 '15 #1
0 886

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Adrian | last post by:
Hi all, I am getting a warning compiling the following code using Borland C++ Builder 6, but I dont think I am doing anything wrong. When using g++ I get no warnings at all with a g++ -Wall...
11
by: Dave | last post by:
I have this sample HTML code: <html> <head> <script type="text/javascript"> var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1"); </script> </head>
4
by: Jim Hammond | last post by:
It would be udeful to be able to get the current on-screen values from a FormView that is databound to an ObjectDataSource by using a callback instead of a postback. For example: public void...
6
by: No Spam | last post by:
Dear Access 2003 Users, Is there a way to pop up a MessageBox warning when a user changes data on a form? Basically, I have one field that I really want people to think about before changing,...
0
by: Jeyakumar | last post by:
Hi, I am using following code to avoid security warning when switch from pageA(https) to PageB (http). 'Output a redirector for the needed page to avoid a security warning. Response.Clear()...
6
by: Matthew Wilson | last post by:
I sometimes inadvertently create a new attribute on an object rather update a value bound to an existing attribute. For example: In : class some_class(object): ...: def __init__(self,...
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
3
by: arjor | last post by:
hello guys i get the following warning when i try to try an throw an exception given by the new command. declaration: void CopyTree(Vertex*& copy, const Vertex* originalTree)...
1
by: tekedge | last post by:
Hi, I have to do an update using a query which uses CTE . Could any body please tell me how I can do an update. I am unable to update if I replace the final select with an update one. Thanks...
2
by: slao | last post by:
I am unable to get the updated value of textbox within a listview when "Update" link button is clicked which calls a function. <asp:ListView ID="_lvCartItems"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.