Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Is there any way to send put,delete,patch request from forms?
Post: Is there any way to send put,delete,patch request ...

For example in Laravel blade templates you need to add @method('PUT') ... in form. For some frameworks you need to add something like:
1,556 Views
1 Replies
07-27-2022, 03:06 AM
tweenietomatoes
    Thread: Why is Code Igniter not recommended?
Post: RE: Why is Code Igniter not recommended?

livinkingstons Wrote: (03-11-2020, 06:11 AM) -- I have been checking out Code Igniter recently and it seems incredibly easy to get an idea going very quickly with little work. I have primarily been ...
9,441 Views
6 Replies
03-11-2020, 10:34 AM
tweenietomatoes
    Thread: [Newbie] Need help to display results.
Post: RE: [Newbie] Need help to display results.

return $qb->select('qnum')->where("transaction", "landtax")->get()->getResult();
6,884 Views
7 Replies
03-10-2020, 04:48 PM
tweenietomatoes
    Thread: [Newbie] Need help to display results.
Post: RE: [Newbie] Need help to display results.

PHP Code: -- -- missing ; so make it base_url(); or use PHP Code: -- --
6,884 Views
7 Replies
03-10-2020, 03:08 PM
tweenietomatoes
    Thread: Pass form fields from application to view?
Post: RE: Pass form fields from application to view?

basically you can just write everything in controller and just echo the html.
3,386 Views
4 Replies
03-09-2020, 07:27 AM
tweenietomatoes
    Thread: Not Being Very Honest
Post: RE: Not Being Very Honest

I missed Jim Parry.
5,617 Views
4 Replies
03-08-2020, 03:34 PM
tweenietomatoes
    Thread: Deployment on Caddy Server v2
Post: Deployment on Caddy Server v2

Here is an example Caddyfile to deploy CI4 on Caddy 2 Code: -- example.com { root * /var/www/html/public try_files {path} {path}/ /index.php?{query} php_fastcgi unix//run/php/php7.3-fpm.sock file_se...
1,712 Views
0 Replies
03-08-2020, 03:17 PM
tweenietomatoes
    Thread: Form submission not picking up URL route
Post: RE: Form submission not picking up URL route

PHP Code: -- $routes->get('products', 'Product::feature'); $routes->post('products', 'Product::feature'); $routes->put('products/(:num)', 'Product::feature'); $routes->delete('products/(:num)', 'P...
3,259 Views
2 Replies
03-08-2020, 11:37 AM
tweenietomatoes
    Thread: Codeigniter is work 100% with PHP7.4.3? 07/03/2020
Post: RE: Codeigniter is work 100% with PHP7.4.3? 07/03/...

LTS versions of Linux distros still serving PHP 7.2 Just don't start new project with CI3. Please use CI4, there is not much difference from the coder's view but it's complete rewrite.
30,128 Views
10 Replies
03-08-2020, 11:03 AM
tweenietomatoes
    Thread: Can CI 4 handle a thousand request?
Post: RE: Can CI 4 handle a thousand request?

albertleao Wrote: (03-04-2020, 08:07 AM) -- It's 100% about the code you write and not Codeigniter. If you write bad code that is slow, it doesn't matter what framework you're using, it'll be slow. I...
8,725 Views
9 Replies
03-08-2020, 10:57 AM
tweenietomatoes
    Thread: Vuetify with CI4
Post: RE: Vuetify with CI4

i think there is nothing implemented to support front end js atm like laravel does. better, put everything in public folder :D i mean js bundle. Put vue code in your view. Call view from controller. ...
3,939 Views
3 Replies
03-07-2020, 02:29 PM
tweenietomatoes
    Thread: Getting Internal Server Error when i use nginx config
Post: Getting Internal Server Error when i use nginx con...

I tried to use nginx config from https://codeigniter4.github.io/userguide/general/urls.html?highlight=nginx (https://codeigniter4.github.io/userguide/general/urls.html?highlight=nginx) i am getting...
2,754 Views
1 Replies
03-06-2020, 04:57 PM
tweenietomatoes
    Thread: Anyone using CI with React,Vue,Svelte or Marko?
Post: RE: Anyone using CI with React,Vue,Svelte or Marko...

Actually if i would use a fullstack or almost fullstack framework/toolkit like CI, ~especially in PHP where we can easly integrate into front end code at server-side(they're trying to advert JS as onl...
8,974 Views
5 Replies
03-06-2020, 08:20 AM
tweenietomatoes
    Thread: Anyone using CI with React,Vue,Svelte or Marko?
Post: Anyone using CI with React,Vue,Svelte or Marko?

I am just wondering if there are any people out there who's using CI with JS frameworks rather than traditional web apps? Is it easy to integrate?
8,974 Views
5 Replies
03-05-2020, 04:17 PM
tweenietomatoes
    Thread: Database Error Occurred
Post: RE: Database Error Occurred

isn't that dbdriver mysqli instead of mysql?
3,282 Views
4 Replies
03-04-2020, 02:03 PM
tweenietomatoes
    Thread: Bootstap 4.4 intergration with codeigniter 3.11
Post: RE: Bootstap 4.4 intergration with codeigniter 3.1...

CI is MVC framework. You should follow MVC concept. Using controllers would solve your problem. Anyway i can't remember what was default controller's name was so i use DefaultController. PHP...
5,476 Views
7 Replies
03-04-2020, 07:59 AM
tweenietomatoes
    Thread: CodeInigter 4 - 403 Forbidden
Post: RE: CodeInigter 4 - 403 Forbidden

don't forget to add DECLARE(STRICT_TYPES=1); to every single php page.
32,249 Views
9 Replies
03-02-2020, 03:54 PM
tweenietomatoes
    Thread: Database Num_rows()?
Post: RE: Database Num_rows()?

stlake2011 Wrote: (03-02-2020, 03:21 PM) -- Thanks, I knew I was probably missing something somewhere. [hr] For anyone remotely interested as it appears from what I have read, that there is no Nu...
23,791 Views
11 Replies
03-02-2020, 03:38 PM
tweenietomatoes
    Thread: Database Num_rows()?
Post: RE: Database Num_rows()?

$builder->where(...); $builder->countAllResults(); or  $builder->countAll(); counts everything in table.
23,791 Views
11 Replies
03-02-2020, 12:48 PM
tweenietomatoes
    Thread: Why crash my code?
Post: RE: Why crash my code?

I didn't understand why you're using SQL query under for loop. Try to solve this problem in SQL query instead of PHP. for ($i = 0 ; $i < count($carts) ; $i++) { ... }
8,886 Views
12 Replies
03-02-2020, 12:43 PM
tweenietomatoes

Theme © iAndrew 2016 - Forum software by © MyBB