CodeIgniter 4 from Scratch - #6 - Views | Basic Views | Part 1/3

preview_player
Показать описание
In this video of CodeIgniter 4 From Scratch Series we will learn how to start using views. I divided the views into 3 smaller parts so that you can understand different approaches that can be used when dealing with views in Ci4.

That's said, in this First Part of CodeIgniter 4 sub-series we will cover:

- the very basic way to use views
- how to locate & create view files
- how to pass dynamic data into views

CodeIgniter 4 From Scratch Series, the series that are intended to help you get started with CodeIgniter 4 even if you have never worked with PHP frameworks before.

This course will not only help you get started with CodeIgniter but also will help you understand the way PHP Frameworks work.

For more information about Codeigniter 4 Views read the official docs
Рекомендации по теме
Комментарии
Автор

hello Alex Sir my images not showing even i add the correct path but image does not show i had tried two to three hour but does work

asada
Автор

thank you so much. I learned web developer from you.

aldrinjohnencina
Автор

Hello Alex, love your tutorial. kindly let me know what CI 4 extension you install for intellisense or auto write php code like you use in view ie. for each, if, out

itratsheikh
Автор

I love the null-coalesce operator, so your title check would be: <?= $meta_title ?? '(no title)' ?>

richyt
Автор

What is the plugin do you use for Codeigniter VS code like foreach, if, and php for auto completion>?

donpuerto
Автор

Can't see the avatar.jpg when load blg class fro url. Tried diffrent compbinations. I have do work arround I have put assets/image foolder to public folder & user <img src="<?php echo ?>

khushalunlimitedgamer
Автор

How do you get the duplicate function in the VS code right click menu?

mangg
Автор

hello mr. alex, can u help me to solve my problem, I make a feedback project for campus so i make database which contain feedback, question, and answer table. the feedback have one to many relationship to question and question have one to many to answer, and i add one table which users input a numeric value or text value in feedback as users that has Answer ID and the input answer column, i have done to view the answer and question table with query and have shown in feedback page, I used radio button for example that answer has value of 4, 3, 2, and 1 that have answer ID, but every users input must passing a value and answer ID to input in database so every user can have an answer based on ANSWER ID, i have problem when want to $_POST the value and the ID but i dont know how to done it i have searched it on stackoverflow or other resources from google but still cant handle my problem, i hope my question will be answered by someone

kevinhadinata
Автор

Could you please let me know your VS extension name for if, foreach loop (auto complete).

Thanks

truth-is-only-one
Автор

How to call a function in codeigniter 4 view

lifejoin
Автор

Alex I love your video. I thought of learning more by doing a commercial project, do you teach hourly basis?

JeewakaKarunaratne
Автор

Hello Alex, I noticed something, your array syntax is wrong but i am not sure why code is still working. :)

for example right array syntax is like this.

$data= [
'title' => 'Blah blah',
'description' => 'This is description'
];

I noticed you adding comma last value of array too!

truth-is-only-one
Автор

Sifuuu, please cont.. To teach dev community

jmihzamahendra