Year: 2020

PHP: How to resolve the “cURL error 60” error

Hey guys.

Today I was studying and developing an application tests that must connect with a Realtime Database of Google Firebase. To integrate my PHP project with Firebase, I added the firebase-php library  (Available at: https://github.com/kreait/firebase-php ).

Well then. My project is being “executed” in a local environment (WAMPP) and as soon as I tried to recover the data previously registered in the Firebase database, I came across the following error:

Continue lendo

[CodeIgniter 4 video lesson] – Models – Creating a CRUD (Consult / List)

Hail guys !!!

In this class of the CodeIgniter 4 series , I continue the subject related to “ models ” and increase the CRUD that I started to develop in the previous video. I show you how to retrieve all data from a database table using a method of our “model” class. These fetched data are returned to a controller and later passed on to be displayed in a “ view ” (via an HTML table).

So, now the CRUD of our project already has the form for registering new records and has a “view” to display all the records that are registered in the table. To “link” the two pages I used the “url” helper (and also showed how to import a helper into a controller).

Continue lendo