Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Dropdown
Post: RE: Dropdown

InsiteFX Wrote: (09-13-2020, 08:42 AM) -- The %201 means there is a space in front of the 1 use php trim on the field. -- I've tried that but the problem persist, for some reason, JS gives the valu...
1,072 Views
3 Replies
09-15-2020, 10:45 AM
Omar Crespo
    Thread: Message: Undefined variable: x
Post: RE: Message: Undefined variable: x

Hello, in your controller, call the model in lowercase: $this->load->model('procedure'); In the view use the function empty($var). Code: -- if(!empty($recipes){ all your code } else{ echo "Error, ...
803 Views
2 Replies
09-15-2020, 09:29 AM
Omar Crespo
    Thread: Extend CI model to allow params to be passed to the constructor?
Post: RE: Extend CI model to allow params to be passed t...

Are you uzing CI4 or still CI3??
638 Views
3 Replies
09-12-2020, 12:43 PM
Omar Crespo
    Thread: Dropdown
Post: RE: Dropdown

Hi friend, probably you got the same error that I had. For some reason I still don't know. You send country_id = 1, and, for some reason it turns to %201.
1,072 Views
3 Replies
09-12-2020, 04:21 AM
Omar Crespo
    Thread: proxy ips
Post: RE: proxy ips

Use the squid proxy. Search for white lists. The idea is that you forbid all conection except those links. So combine the acl rules with the white lists. You can also use IPTABLES, it's a firewall...
620 Views
2 Replies
09-12-2020, 04:09 AM
Omar Crespo
    Thread: Unable to access an error message corresponding to your field name
Post: RE: Unable to access an error message correspondin...

Hello, there's no rule for the username. You must add one.
1,165 Views
1 Replies
09-11-2020, 07:14 AM
Omar Crespo
    Thread: CodeIgniter4-translations
Post: RE: CodeIgniter4-translations

Hi. I've just created an acount on github, w3rb1n1ch, because /es/Validation.php has is_not_unique in English. So I've tried to fixed it, but it remains in English. Can you help me to help you??
10,301 Views
9 Replies
09-10-2020, 10:52 PM
Omar Crespo
    Thread: Codeigniter website PHP code theme not working to register & Login
Post: RE: Codeigniter website PHP code theme not working...

The problem seems to be with $password, it has no value.Try this way: Code: --     function _check_login()     {         // limit number of login attempts         $ok_to_login = $this->users_model...
1,345 Views
5 Replies
09-10-2020, 09:15 PM
Omar Crespo
    Thread: Insertar datos en dos tablas distintas
Post: RE: Insertar datos en dos tablas distintas

sergi Wrote: (02-23-2020, 12:48 PM) -- Hola, no se como insertar datos en dos tablas distintas.  Gracias -- Hola, saludos desde Cuba. Según tu código solo usas la tabla despesa. Como no se cu...
2,743 Views
2 Replies
09-10-2020, 08:58 PM
Omar Crespo
    Thread: deleting files with delete_files() in helper
Post: RE: deleting files with delete_files() in helper

chmod 775 or at least 664 should do the job.
2,418 Views
5 Replies
09-10-2020, 11:31 AM
Omar Crespo
    Thread: Best way to project, plan and structure an app with CI
Post: RE: Best way to project, plan and structure an app...

Hi. 1- I start with all the Software Engineering. 2- Create the database. 3- Extend the CI_Model and CI_Controller. 4- Work on Model and Controllers 5- Work on views. I do it this wa...
6,825 Views
9 Replies
09-10-2020, 11:01 AM
Omar Crespo
    Thread: how to deal with .com in SQL query?
Post: RE: how to deal with .com in SQL query?

No. See the structute of a query is like this: OPERATION table_fields FROM table START_CONDITION condition_field = condition_value Look at this example: "SELECT name, age FROM people_table WH...
755 Views
6 Replies
09-10-2020, 10:34 AM
Omar Crespo
    Thread: ErrorException Trying to access array offset on value of type null
Post: RE: ErrorException Trying to access array offset o...

You just missed the parameter, the correct function should be: public function getAccess($menu) { $queryMenu = $this->getIdMenu($menu); $id_menu = $queryMenu['id_user_menu']; } Also check 1 more thi...
9,104 Views
3 Replies
09-10-2020, 09:09 AM
Omar Crespo
    Thread: how to deal with .com in SQL query?
Post: RE: how to deal with .com in SQL query?

You don't need to, if your id is the int type, it goes without quote, and if it is string type, it already have it.
755 Views
6 Replies
09-10-2020, 05:20 AM
Omar Crespo
    Thread: suggestions - open for help
Post: RE: suggestions - open for help

For your marketing idea, the team should post a benchmark comparisson of CI, Yii2, Laravel, Cake-PHP, etc. After all CI stands for speed.
1,510 Views
1 Replies
09-10-2020, 05:17 AM
Omar Crespo
    Thread: Images files from javascript
Post: RE: Images files from javascript

var images = ["", ""];
539 Views
3 Replies
09-10-2020, 04:59 AM
Omar Crespo
    Thread: how to deal with .com in SQL query?
Post: RE: how to deal with .com in SQL query?

Your correct example seems to be wrong, see you miss the ' ' in the values. Your correct example should be like this in order to work: "email = '[email protected]' AND campaign = 'Apple'"
755 Views
6 Replies
09-10-2020, 04:50 AM
Omar Crespo
    Thread: Unable to connect to the database. (postgres)
Post: RE: Unable to connect to the database. (postgres)

Check if the name of the db Driver, table, user and password are correct. Please post the error message in order to see what's wrong.
3,527 Views
5 Replies
09-09-2020, 06:35 PM
Omar Crespo
    Thread: Full list of Database Drivers
Post: Full list of Database Drivers

Hi, can anyone give me a list of all database drivers for CI3 and CI4. I mean, exactly what to whrite in: 'dbdriver' => ' ';
503 Views
1 Replies
09-09-2020, 04:09 PM
Omar Crespo
    Thread: Images files from javascript
Post: RE: Images files from javascript

Did you tried to use an absolute route for your demo purposes?? You should.
539 Views
3 Replies
09-09-2020, 04:00 PM
Omar Crespo

Theme © iAndrew 2016 - Forum software by © MyBB