Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Vote for CI4 project - GeNa (news aggregatpor and Telegram Bot)
Post: Vote for CI4 project - GeNa (news aggregatpor and ...

Dear Community, I spent last weekend participating #CodeVsCovid19 hackathon. I decided to use CI4 to build an application that aggregares all kind of news, notifications and warnings relevant for r...
3,863 Views
0 Replies
03-30-2020, 08:35 AM
zahhar
    Thread: Codeigniter website is down!!
Post: RE: Codeigniter website is down!!

Answer is in this thread: https://forum.codeigniter.com/thread-75851.html
4,728 Views
4 Replies
03-24-2020, 12:16 PM
zahhar
    Thread: Adding WhatsApp as reminder in my website
Post: RE: Adding WhatsApp as reminder in my website

Well, in real life most probably you do not have access to WhatsApp Business API, because it is restricted to Mid- to Large business and typically integration requires intermediary. I would recomm...
6,575 Views
5 Replies
03-24-2020, 12:08 PM
zahhar
    Thread: CodeIgniter 4.0 Query Builder and CAST support
Post: RE: CodeIgniter 4.0 Query Builder and CAST support

Hey man, nice try and thank you for taking care! I do not want to be a party-braker here, but: 1) you did PR towards wrong repo; right one is https://github.com/codeigniter4/CodeIgniter4 2) you d...
8,225 Views
6 Replies
03-16-2020, 11:48 AM
zahhar
    Thread: Developing text-based browser game?
Post: RE: Developing text-based browser game?

CI4 is perfect candidate for your task. From my perspective it definitely worth using framework like CI.
6,286 Views
4 Replies
03-16-2020, 11:36 AM
zahhar
    Thread: Google ReCaptcha v3 in CodeIgniter 4
Post: RE: Google ReCaptcha v3 in CodeIgniter 4

That is great news! Worth promoting. Could you please post a link to source code repository?
10,191 Views
2 Replies
03-16-2020, 11:35 AM
zahhar
    Thread: Fieldnames and templates rendering
Post: RE: Fieldnames and templates rendering

Did not understand the issue. Please paste code example and your DB structure, that would include data types and how you extract data for template. Also, please specify CI4 version you are running, an...
2,435 Views
2 Replies
03-14-2020, 03:27 AM
zahhar
    Thread: CodeIgniter 4.0 Query Builder and CAST support
Post: RE: CodeIgniter 4.0 Query Builder and CAST support

Could you please elaborate on use-case where you need CAST function in mySQL? Also would be interesting why not to case datatypes in PHP or in your model before feeding them into mySQL? Overall, I...
8,225 Views
6 Replies
03-14-2020, 03:25 AM
zahhar
    Thread: Export to MS Excell, last digit turn into zero
Post: RE: Export to MS Excell, last digit turn into zero

Cast value to text and enclose into `12345678912345678` characters. Also depending on Excel version you may just add whitespace before the value, and enclose into single quotes: ' 12345678912345678'.
2,632 Views
2 Replies
03-13-2020, 01:55 PM
zahhar
    Thread: Hours spent on computer?
Post: RE: Hours spent on computer?

12h for me in average
116,742 Views
75 Replies
03-12-2020, 07:08 AM
zahhar
    Thread: .(dot) character is not being accepted in database name
Post: RE: .(dot) character is not being accepted in data...

Strictly speaking, dot character in database names might not be supported by all database engines and versions. Indeed it is supported in latest mySQL/MariaDB, but it was not like that before: https:/...
3,160 Views
2 Replies
03-12-2020, 07:05 AM
zahhar
    Thread: models and db transactions
Post: RE: models and db transactions

Your example makes little sent. By default all databases autocommitting transactions. So they are doing exactly what you showed: they start transation, execute your query, and upon success immidiately...
4,676 Views
3 Replies
03-12-2020, 01:00 AM
zahhar
    Thread: About Blockchain
Post: RE: About Blockchain

I think you should start from understanding what Blockchain is, and what it is not. You can start from here, however, there are plenty of interesting and up to date materials around: https://medium.co...
4,862 Views
4 Replies
03-12-2020, 12:38 AM
zahhar
    Thread: Why is Code Igniter not recommended?
Post: RE: Why is Code Igniter not recommended?

livinkingstons Wrote: (03-11-2020, 06:11 AM) -- What are the reasons that Code Igniter might not be recommended? -- Who said this? To whom? When? Why? For what use-case? In general, such questions ...
10,552 Views
6 Replies
03-11-2020, 02:41 PM
zahhar
    Thread: models and db transactions
Post: RE: models and db transactions

Just search documentation for "transactions" and enjoy reading this chapter: https://codeigniter4.github.io/userguide/database/transactions.html?highlight=transaction
4,676 Views
3 Replies
03-11-2020, 02:29 PM
zahhar
    Thread: [Newbie] Need help to display results.
Post: RE: [Newbie] Need help to display results.

Your model uses result() that does not exis on $query object.  You should use getResult() instead. I also simplified your code a bit:  PHP Code: -- function select_qnum_query() { $qb = $this-...
7,832 Views
7 Replies
03-10-2020, 03:40 PM
zahhar
    Thread: About Blockchain
Post: RE: About Blockchain

Hi, You can easily develop blockchain application on PHP, like on any other language. Of course, you should count of few limitations: first, only few blockchains have available PHP SDK (or REST API...
4,862 Views
4 Replies
03-10-2020, 03:09 PM
zahhar
    Thread: Anyone using CI with React,Vue,Svelte or Marko?
Post: RE: Anyone using CI with React,Vue,Svelte or Marko...

I did a couple of tries with VueJs -> nothing spectacular, it just works. Here is good advice on Ajax calls setup for reactive frontend frameworks: https://codeigniter4.github.io/userguide/gener...
9,958 Views
5 Replies
03-06-2020, 04:59 AM
zahhar
    Thread: Change date format
Post: RE: Change date format

Well, you could benefit from built-in Time class in CI4 internalization library rather then invent the week and bring in yet another custom converter: PHP Code: -- use CodeIgniter\I18n\Time; //read...
5,277 Views
3 Replies
03-06-2020, 04:51 AM
zahhar
    Thread: Why crash my code?
Post: RE: Why crash my code?

Hey, could you please share how your code looks after refactoring? I think many people who will visit the forum and looking for similar question may benefit if they see final outcome that is free fro...
10,364 Views
12 Replies
03-04-2020, 04:35 AM
zahhar

Theme © iAndrew 2016 - Forum software by © MyBB