Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Array to HTML "Table"
Post: RE: Array to HTML "Table"

Sorry, I meant the actual rendered HTML table, like if I used "view source" in the browser. Just a few rows would be enough.
359 Views
7 Replies
04-19-2024, 01:00 AM
paulkd
    Thread: Array to HTML "Table"
Post: RE: Array to HTML "Table"

Hi, Can you post the HTML of the table rendered from your print_r array data?
359 Views
7 Replies
04-18-2024, 11:10 PM
paulkd
    Thread: log_message entries question
Post: RE: log_message entries question

Hi kenjis, I expected a single entry for a single page request. I found the cause. It was in app\Config\Boot\development.php just above my log_message call. PHP Code: -- defined('CI_DEBUG') ...
780 Views
2 Replies
01-13-2023, 05:42 AM
paulkd
    Thread: log_message entries question
Post: log_message entries question

Hi, I've downloaded a fresh copy of 4.3.0 updated .env with CI_ENVIRONMENT = development and logger.threshold = 7 added log_message('info', 'for your information'); to the end of app\Config\Bo...
780 Views
2 Replies
01-11-2023, 01:42 PM
paulkd
    Thread: Tutorial for creating news item doesn't work
Post: RE: Tutorial for creating news item doesn't work

vostronus Wrote: (12-21-2021, 05:22 PM) -- kenjis Wrote: (12-21-2021, 05:20 PM) -- Why nobody here goes with Symfony? :huh: -- Laravel seems to top the list these days. I may go to symfony, but la...
6,428 Views
15 Replies
12-22-2021, 12:02 AM
paulkd
    Thread: How do I ensure that rewrite works properly?
Post: RE: How do I ensure that rewrite works properly?

Inquisitor Wrote: (10-20-2021, 02:08 AM) -- paulkd Wrote: (10-19-2021, 10:15 PM) -- If you are using cPanel It looks like your Document Root may be pointing to public_html I think your Docum...
2,263 Views
3 Replies
10-20-2021, 02:16 AM
paulkd
    Thread: How do I ensure that rewrite works properly?
Post: RE: How do I ensure that rewrite works properly?

Inquisitor Wrote: (10-19-2021, 07:52 AM) -- When I go to the root of my installation which is /ci4 right now I just get this: https://i.postimg.cc/GtcNTvFw/root.jpg If I go to /public it works fine...
2,263 Views
3 Replies
10-19-2021, 10:15 PM
paulkd
    Thread: Proper way yo deal with uri segments?
Post: RE: Proper way yo deal with uri segments?

dgvirtual Wrote: (10-14-2021, 12:42 AM) -- iRedds Wrote: (10-13-2021, 04:28 PM) -- I think it will be fun  https://site.lt/my_subdir/.env -- I did not use the real website name :), but yeh, next t...
3,381 Views
7 Replies
10-14-2021, 01:28 AM
paulkd
    Thread: redirect question
Post: SOLVED: redirect question

includebeer Wrote: (10-12-2021, 04:00 PM) -- paulkd Wrote: (10-11-2021, 03:13 AM) -- Hi, Can someone tell me why this is redirecting to localhost rather than the domain it is being executed on :h...
1,600 Views
3 Replies
10-12-2021, 11:00 PM
paulkd
    Thread: What is the recommended method of having sessions always on
Post: What is the recommended method of having sessions ...

Hi All, As per the title, I've been looking at filters and events. In CI3 I just autoloaded sessions. I want sessions up and running as soon as possible to make decisions on their values.
921 Views
1 Replies
10-12-2021, 02:46 AM
paulkd
    Thread: redirect question
Post: redirect question

Hi, Can someone tell me why this is redirecting to localhost rather than the domain it is being executed on :huh: Code: -- return redirect()->to('/admin/login'); --
1,600 Views
3 Replies
10-11-2021, 03:13 AM
paulkd
    Thread: CodeIgniter 4 Model - One to Many - how to?
Post: RE: CodeIgniter 4 Model - One to Many - how to?

Scott103 Wrote: (09-27-2021, 08:04 AM) -- Hey guys, I am new to CodeIgniter 4 and self-taught, so for sure I am missing some skill or knowledge :-). Anyway - I am building simple quiz. One page...
3,227 Views
4 Replies
09-28-2021, 03:24 AM
paulkd
    Thread: convert sql
Post: RE: convert sql

Tajar_Dobro Wrote: (09-20-2021, 11:53 PM) -- ikeselayes , you can. Code: -- Select if(payment_status=0,'Not Paid','Paid ') AS status tnanksss, but what about if i have more than 2 status? -- ...
5,552 Views
5 Replies
09-21-2021, 12:51 AM
paulkd
    Thread: How to search out the exact result which in the array data field?
Post: RE: How to search out the exact result which in th...

Philco Wrote: (09-09-2021, 09:49 PM) -- Hello Madam, Sir, I am really newbie  in codeigniter,  I like this frame much. Now there is problem when I try to filter some product  We have stored a prod...
4,033 Views
2 Replies
09-10-2021, 01:39 AM
paulkd
    Thread: List all sessions
Post: RE: List all sessions

Hi, You could use a database table to store session_id(), a last_active timestamp and any other required data (e.g. user_id).
2,618 Views
4 Replies
07-07-2021, 06:57 AM
paulkd
    Thread: Model within a model
Post: RE: Model within a model

Hi, In general, I call models from controllers. However, here is an example where I've called Customers model from Orders model. Hope this helps. Models/BaseModel.php PHP Code: --
6,043 Views
12 Replies
07-01-2021, 12:36 AM
paulkd
    Thread: saving a user's $_SESSION vars
Post: RE: saving a user's $_SESSION vars

php_rocs Wrote: (06-30-2021, 08:07 PM) -- @"richb201" , When you say 20 of them are you referring to 20 session variables?  If so, you could simply put them in an array and store the array. -- T...
5,087 Views
10 Replies
06-30-2021, 11:55 PM
paulkd
    Thread: Export to excel
Post: RE: Export to excel

Tajar_Dobro Wrote: (06-14-2021, 12:35 AM) -- Well, I have the main query in the DB. now I want only to export the return from the search. also, PHP excel does not work. This code exports me all the...
13,722 Views
8 Replies
06-16-2021, 05:12 AM
paulkd
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

SoccerGuy3 Wrote: (06-15-2021, 07:18 AM) -- Thanks everyone for the help. Just needed a push in the right direction. Somewhat new to CI and the community support is great. Now that it is working/ret...
8,854 Views
16 Replies
06-15-2021, 12:48 PM
paulkd
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

Can you not use PHP Code: -- -- in your views?
8,854 Views
16 Replies
06-14-2021, 10:02 PM
paulkd

Theme © iAndrew 2016 - Forum software by © MyBB