If I have 200 pages and I want to to view it so every page I want to call so need to create a function for that page?

|
adeguntoro 2020-08-03 09:27:47
Dat_Computa_Guy 2020-08-03 09:09:32
Hello good morning everyone. Please can someone help me..
I’m working on a project.. I want to be able to add a order tracking system. So users can track orders in a website

And ?…..

Dat_Computa_Guy 2020-08-03 09:30:16
Monitor it’s movement on a map. That’s going to be able to show there location and the driver location
Dat_Computa_Guy 2020-08-03 10:07:43
Please is it possible
dev 2020-08-03 11:58:19
why is it that i have started getting this error all of a suden
dev 2020-08-03 11:58:20
Result: error Internal Server Error 500 Internal Server Error
webhost00 2020-08-03 12:03:24
natanmi 2020-08-02 19:18:28
Why can’t run Codeigniter on Nginx hosting?
Any configuration I need to do?

Doesn’t work with access just return error 403, but all the file are access by 755

ajkhairnar 2020-08-03 12:38:59
How to use socket in php
ajkhairnar 2020-08-03 12:39:12
Any documentation
ajkhairnar 2020-08-03 12:39:27
Plz help guys
rohit267 2020-08-03 12:59:15
dev 2020-08-03 11:58:20
Result: error Internal Server Error 500 Internal Server Error

enable errors to see error

rohit267 2020-08-03 12:59:29
ajkhairnar 2020-08-03 12:38:59
How to use socket in php

for what?

rohit267 2020-08-03 12:59:56
ajkhairnar 2020-08-03 12:39:27
Plz help guys

https://www.php.net/manual/en/book.sockets.php

rohit267 2020-08-03 13:00:21
php documentation, yes it exists
natanmi 2020-08-03 15:22:24
If I have 200 pages and I want to to view it so every page I want to call so need to create a function for that page? Using Codeigniter
natanmi 2020-08-03 15:40:35
Let me explain again,
I am converting static html site with 200 pages to Codeigniter.
When I want to call each and every page to browse so I need to create a function to every page and call it?

Like this?
$this->load->view(‘name’);

rohit267 2020-08-03 15:42:54
natanmi 2020-08-03 15:40:35
Let me explain again,
I am converting static html site with 200 pages to Codeigniter.
When I want to call each and every page to browse so I need to create a function to every page and call it?

Like this?
$this->load->view(‘name’);

you know codeignitor?

natanmi 2020-08-03 15:43:20
rohit267 2020-08-03 15:42:54
you know codeignitor?

Learning…

rohit267 2020-08-03 15:43:30
if yes then is there any other way to create view?
rohit267 2020-08-03 15:44:23
if the pages are different and you must make different modal and controller according to requirement and provide view
natanmi 2020-08-03 15:44:39
So for every page view I want to show I need to create a function in controller?
kameshindore 2020-08-03 16:06:48
natanmi 2020-08-03 15:40:35
Let me explain again,
I am converting static html site with 200 pages to Codeigniter.
When I want to call each and every page to browse so I need to create a function to every page and call it?

Like this?
$this->load->view(‘name’);

see dear, i hope there are somethings like header footer,sidebar,menu bar. for which you can make common view. for the rest of the pages. you have to load view function for every view. thats how mvc works.

user cant call view directly.

user request is pass to controller then it renders the corresponding view.

natanmi 2020-08-03 17:42:39
And all functions can be in one controller? Like home.php or something like that
manjeshy7 2020-08-03 17:58:08
@natanmi If you want just static htm load from codeigniter follow these step
1. Copy all files in folder views/static/*
2. Make changes in default controller index function.
3. In index function get Request URL like domain.com/segment_one.
4. Check if “segment_one” name file exists in folder view/static/* eg. (file_exists(‘views/static/segment_one.htm’))
5. If file exists load view $this->load->view(‘static/segment_one.htm’);
natanmi 2020-08-03 18:37:43
luv_php-22048.jpg
like this?
manjeshy7 2020-08-03 18:40:20
natanmi 2020-08-03 18:37:43
like this?

This is not work for 200 pages

natanmi 2020-08-03 18:41:23
This was my first question, if i have 200 pages, then how to call the pages? like i call these two? every page a different function?
manjeshy7 2020-08-03 18:43:22
natanmi 2020-08-03 18:41:23
This was my first question, if i have 200 pages, then how to call the pages? like i call these two? every page a different function?

Yes if you are comfortable 200 functions and if you want one more page then one more function. This is not work in practical world

natanmi 2020-08-03 18:44:04
what is the best way to doing this with codeigniter? what is the correct way?
Ilovetocode 2020-08-03 18:45:16
luv_php-22053.jpg
Hey can anybody help me …I’m getting this type of message body when sending mail through Gmail api
manjeshy7 2020-08-03 18:45:23
manjeshy7 2020-08-03 17:58:08
@natanmi If you want just static htm load from codeigniter follow these step
1. Copy all files in folder views/static/*
2. Make changes in default controller index function.
3. In index function get Request URL like domain.com/segment_one.
4. Check if “segment_one” name file exists in folder view/static/* eg. (file_exists(‘views/static/segment_one.htm’))
5. If file exists load view $this->load->view(‘static/segment_one.htm’);

Simple fast and easy.

natanmi 2020-08-03 18:45:36
manjeshy7 2020-08-03 18:45:23
Simple fast and easy.

how?

manjeshy7 2020-08-03 18:46:20
Best way do this work with databases. And put contant in tables
natanmi 2020-08-03 18:47:43
you mean save the page content in db and design is in template and call to header/footer to all pages by on function? but know that every page is look different from other….not all pages looks the same….
manjeshy7 2020-08-03 18:48:44
natanmi 2020-08-03 18:47:43
you mean save the page content in db and design is in template and call to header/footer to all pages by on function? but know that every page is look different from other….not all pages looks the same….

Yes

natanmi 2020-08-03 18:48:58
manjeshy7 2020-08-03 18:48:44
Yes

but know that every page is look different from other….not all pages looks the same….

manjeshy7 2020-08-03 18:50:45
natanmi 2020-08-03 18:48:58
but know that every page is look different from other….not all pages looks the same….

Go with first one.

rohit267 2020-08-03 18:59:42
Ilovetocode 2020-08-03 18:45:16
Hey can anybody help me …I’m getting this type of message body when sending mail through Gmail api

what kind you want m

Ilovetocode 2020-08-03 19:00:00
Normal
rohit267 2020-08-03 19:00:17
Ilovetocode 2020-08-03 18:45:16
Hey can anybody help me …I’m getting this type of message body when sending mail through Gmail api

this is normal

Ilovetocode 2020-08-03 19:00:24
As we write in letter form
Ilovetocode 2020-08-03 19:00:54
luv_php-22066.jpg
In this way
rohit267 2020-08-03 19:01:13
Ilovetocode 2020-08-03 19:00:24
As we write in letter form

then design it inside body

natanmi 2020-08-03 19:13:31
can i use ci 4 ? or it is not stable yet?
2020-08-03 19:14:31
natanmi 2020-08-03 19:13:31
can i use ci 4 ? or it is not stable yet?

Yes you can use

natanmi 2020-08-03 19:15:17
it works same like ver 3.11 or it have a diff logic ?
2020-08-03 19:17:22
natanmi 2020-08-03 19:15:17
it works same like ver 3.11 or it have a diff logic ?

Version 4 is like laravel

2020-08-03 19:17:42
With command line of PHP spark
le_muert 2020-08-03 19:17:54
Someone can help me with httpd.conf ???
natanmi 2020-08-03 19:26:10
luv_php-22074.jpg
this page is show me 404 error, can you say why? home page is show correct but features page is not… what i am missing?
2020-08-03 19:27:15
Send me url ?
|