diff options
author | Francisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com> | 2020-01-25 16:59:09 +0100 |
---|---|---|
committer | Francisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com> | 2020-01-25 16:59:09 +0100 |
commit | 743f8256a0987922e8c9a1888b3f5e06bc2cf3bf (patch) | |
tree | 81bcd3ca2a3dbd538c1e21a256ed24de74484bcc /user_guide_src/source/general | |
parent | 2a80014590526ceaca427d9f9c1f5260b7b0de13 (diff) |
inserted required attribute in html tags in documentation
Signed-off-by: Francisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com>
Diffstat (limited to 'user_guide_src/source/general')
-rw-r--r-- | user_guide_src/source/general/views.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/general/views.rst b/user_guide_src/source/general/views.rst index 2fc0cb2ca..b84e85399 100644 --- a/user_guide_src/source/general/views.rst +++ b/user_guide_src/source/general/views.rst @@ -22,7 +22,7 @@ Creating a View Using your text editor, create a file called blogview.php, and put this in it:: - <html> + <html lang="en"> <head> <title>My Blog</title> </head> @@ -138,7 +138,7 @@ Let's try it with your controller file. Open it add this code:: Now open your view file and change the text to variables that correspond to the array keys in your data:: - <html> + <html lang="en"> <head> <title><?php echo $title;?></title> </head> @@ -176,7 +176,7 @@ Here's a simple example. Add this to your controller:: Now open your view file and create a loop:: - <html> + <html lang="en"> <head> <title><?php echo $title;?></title> </head> @@ -210,4 +210,4 @@ some way. If you set the parameter to TRUE (boolean) it will return data. The default behavior is false, which sends it to your browser. Remember to assign it to a variable if you want the data returned:: - $string = $this->load->view('myfile', '', TRUE);
\ No newline at end of file + $string = $this->load->view('myfile', '', TRUE); |