From 743f8256a0987922e8c9a1888b3f5e06bc2cf3bf Mon Sep 17 00:00:00 2001 From: Francisco Javier Llanquipichun Garcia Date: Sat, 25 Jan 2020 12:59:09 -0300 Subject: inserted required attribute in html tags in documentation Signed-off-by: Francisco Javier Llanquipichun Garcia --- user_guide_src/source/general/views.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide_src/source/general/views.rst') 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:: - + My Blog @@ -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:: - + <?php echo $title;?> @@ -176,7 +176,7 @@ Here's a simple example. Add this to your controller:: Now open your view file and create a loop:: - + <?php echo $title;?> @@ -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); -- cgit v1.2.3-24-g4f1b