Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Split String and Number in PHP
Post: RE: Split String and Number in PHP

PaulD Wrote: (03-02-2018, 04:31 AM) -- Why don't you just do two fields, one for name and one for number. I cannot see an explode function in your code. After explode, you can use count to chec...
6,544 Views
3 Replies
03-02-2018, 07:26 AM
CharlesK
    Thread: Split String and Number in PHP
Post: Split String and Number in PHP

Hello guys, i have a text field where a user enters their name and number, and i want to insert the number only, how do i achieve this in my controller?The text field is called recipients and the data...
6,544 Views
3 Replies
03-02-2018, 02:42 AM
CharlesK
    Thread: Bootstrap TagsInput with Code Igniter
Post: Bootstrap TagsInput with Code Igniter

Hello guys, i am trying to implement jQuery ui autocomplete in code Igniter with database in that when a user inputs a letter like c, all the suggestions with letter C from the database appear that is...
2,561 Views
0 Replies
02-22-2018, 10:43 PM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

I actually solved this, this is the code in case anyone needs it :D :cool: :cool: : Code: --
9,894 Views
12 Replies
02-22-2018, 07:02 AM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

Wouter60 Wrote: (02-20-2018, 12:01 AM) -- Like I said before: create a hidden field and let jQuery assign a value to it before the AJAX call is done. Next to the span element, create a hidden inpu...
9,894 Views
12 Replies
02-21-2018, 07:48 AM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

kirasiris Wrote: (02-19-2018, 07:22 PM) -- CharlesK Wrote: (02-19-2018, 12:59 PM) -- ooooh, now i get, how do i get to insert the spans in the DB??? -- its not possible .-. . To be able to send da...
9,894 Views
12 Replies
02-20-2018, 12:38 AM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

ooooh, now i get, how do i get to insert the spans in the DB???
9,894 Views
12 Replies
02-19-2018, 12:59 PM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

That is because I am picking two values and inserting them to the same column, that is why i have used both. Look at the label Message it has a span which contains the name = "messages"
9,894 Views
12 Replies
02-19-2018, 12:19 PM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: RE: How to Count the number of receipients and ins...

sorry for that, I want to insert the number of pages in a message, like the message text field in the view is able to count the number of words and limit them to 160 then count that as page 1, the sam...
9,894 Views
12 Replies
02-19-2018, 11:54 AM
CharlesK
    Thread: How to Count the number of receipients and insert in the database
Post: How to Count the number of receipients and insert ...

Hello guys, I am able to insert data in the database in the view below, my current problem is i want to save the total number of receivers, like lets say i am sending an sms to three receivers, i woul...
9,894 Views
12 Replies
02-19-2018, 02:52 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

There is no response to ajax call
13,488 Views
21 Replies
02-13-2018, 06:18 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Nothing happens when i remove the line of code
13,488 Views
21 Replies
02-13-2018, 12:31 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Yes i already did that, am having a syntax error in the controller here: Code: -- echo $this->sms->savesms($save) ? "Success" : "Fail";            redirect('modal_send_sms'); -- There seems to be ...
13,488 Views
21 Replies
02-12-2018, 11:58 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

I actually found where the problem was, in this code: $("#SendSMS").click(function () { event.preventDefault(); alert('Send SMS Clicked'); // var postData = $('#SendSMSForm').serializeArray...
13,488 Views
21 Replies
02-12-2018, 11:35 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

It still does not send, even the console does not show any action
13,488 Views
21 Replies
02-12-2018, 11:30 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Yes that's the button. Thank you dave, the Sender should be static like only from one person,how do i achieve this? as for the sendscheduletime it should store the date and time as they are picked, i ...
13,488 Views
21 Replies
02-12-2018, 11:17 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Ooh yeah i get that dave, i will work on, The problem i am seriously facing is the insertion of data in the database as that button does not work at all. Please help me with that. In the modal_send_sm...
13,488 Views
21 Replies
02-12-2018, 01:26 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Hello dave, here is the messages models,the first one deals with the current insertion am trying to make the second one ads to it though in a different view , I will share with you the code though C...
13,488 Views
21 Replies
02-11-2018, 09:22 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Sorry it should be $save
13,488 Views
21 Replies
02-11-2018, 12:39 AM
CharlesK
    Thread: facing problems with inserting data
Post: RE: facing problems with inserting data

Thanks Dave, I think my view is also not working, could you please check it out. Like how i echo the form, because nothing happens when i click the button. Please check it out
13,488 Views
21 Replies
02-11-2018, 12:35 AM
CharlesK

Theme © iAndrew 2016 - Forum software by © MyBB