Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: transactions using more than one model
Post: transactions using more than one model

Hi again. I would like to ask for some guidance in setting transactions across more than one model (table). I have tried on a single model with no problem, but I fail to figure how to do multiple. ...
1,861 Views
2 Replies
06-16-2020, 01:38 PM
joseCarlos
    Thread: prepared statements
Post: RE: prepared statements

I have reproduced the error, the thing is because of my lack of knowledge i can not get you the stack trace. That is because I am using an ajax method to send data to insert and when the error occurs...
4,282 Views
4 Replies
05-26-2020, 04:24 AM
joseCarlos
    Thread: prepared statements
Post: RE: prepared statements

kilishan Wrote: (05-25-2020, 09:07 AM) -- Can you provide a stack trace or the line number in Query that it happens? On a side note, if you're only doing it for security reasons, I think you gain...
4,282 Views
4 Replies
05-26-2020, 01:44 AM
joseCarlos
    Thread: prepared statements
Post: RE: prepared statements

Just one last shout out to anyone who can give me any insight on this issue. I have continued to trouble shoot the problem. I have manually added the insert values directly to model function, so t...
4,282 Views
4 Replies
05-25-2020, 02:07 AM
joseCarlos
    Thread: prepared statements
Post: prepared statements

Hi again. So I was trying to improve safety in my project by using prepared statements, and it just doesn't seems to work. would you be so kind as to take a look and see if you find anything out o...
4,282 Views
4 Replies
05-19-2020, 03:57 AM
joseCarlos
    Thread: using ajax and jquery to insert or update to database
Post: RE: using ajax and jquery to insert or update to d...

Leo Wrote: (04-25-2020, 04:17 AM) -- Hi, check out this thread, I wrote a good example there: https://forum.codeigniter.com/thread-76104.html Obviously, you can omit the csrf cookie stuff in case yo...
5,250 Views
3 Replies
04-28-2020, 12:23 PM
joseCarlos
    Thread: using ajax and jquery to insert or update to database
Post: using ajax and jquery to insert or update to datab...

Hi again, I am really sorry to open a new topic for this question, i did read the existing ones but still did not understand what I should do. So what I would like to ask your help for is in how do I...
5,250 Views
3 Replies
04-25-2020, 02:44 AM
joseCarlos
    Thread: num_rows() from CI3 on CI4
Post: RE: num_rows() from CI3 on CI4

jreklund Wrote: (04-22-2020, 10:15 AM) -- Hi you have a countAllResults() (https://codeigniter.com/user_guide/database/query_builder.html?highlight=countall#countAllResults) function you can use inst...
8,210 Views
4 Replies
04-22-2020, 10:40 AM
joseCarlos
    Thread: num_rows() from CI3 on CI4
Post: num_rows() from CI3 on CI4

Hi again, I have been having problems in verifying if a database record exists by selecting it and returning his row, and then proceed to count the number of rows deciding true(if number of rows bigg...
8,210 Views
4 Replies
04-22-2020, 04:14 AM
joseCarlos
    Thread: authentication
Post: RE: authentication

Leo Wrote: (04-16-2020, 01:37 PM) -- oh so does that mean its ok to verify the session in every controller that I require to protect from unauthorized user Wrote: (04-16-2020, 11:01 AM) -- like so: ...
5,755 Views
6 Replies
04-16-2020, 02:37 PM
joseCarlos
    Thread: authentication
Post: RE: authentication

PHS Wrote: (04-16-2020, 10:46 AM) -- I don't usually use the base_controller that comes as an example in Codeigniter. I build my controllers in a unique way. For example, if I have a login system,...
5,755 Views
6 Replies
04-16-2020, 11:01 AM
joseCarlos
    Thread: authentication
Post: RE: authentication

So could you demonstrate as how i would place it in BaseController  __construct function, as so to run it on every controller that extends from it?
5,755 Views
6 Replies
04-16-2020, 06:26 AM
joseCarlos
    Thread: authentication
Post: authentication

Hi I am new to codigniter, and I am a beginner at php. I am having trouble setting the "authentication system", that said, I can log in, log out and verify if user is logged in. But I wanted to ...
5,755 Views
6 Replies
04-16-2020, 04:04 AM
joseCarlos

Theme © iAndrew 2016 - Forum software by © MyBB