Monday 30 April 2018

Codeigniter Database Tutorial | Database Connection | Display Data On Bu...







I created a video about how to connect with database and fetch data from table using MVC (Model, view and controller) of Codeigniter. It's a bit complicated process so before you see how to connect, you must master in normal php coding.
Model :- A place where you perform database operations(CRUD).

View :- A place where you interact with user.(GUI/website).

Controller :- A place where you connect model and view and also perform some validation if you want to.

Wednesday 18 April 2018

Thunderbird Mail Software

Some Opinions on Thunderbird mail Software

I never used any of the email-sending softwares to send any e-mails. I prefer to send email on web-browsers. When I installed ubuntu, they gave me Thunderbird  preinstalled. I think it is a useful alternative for MS-outlook. I am thinking about using it to send resumes to companies instead of copying their email addresses and then paste it in email box. 😉😅

Sunday 15 April 2018

Java Script Tutorial | Change Images On Button Click Dynamically Without Refreshing Page

code for images appearing dynamically without refreshing page:-

<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
        <script>
            function change1()
            {
                document.getElementById("changing_image").innerHTML='<img src=Desert.jpg>';
            }
           
            function change2()
            {
                document.getElementById("changing_image").innerHTML='<img src=Lighthouse.jpg>';
            }
           
            function change3()
            {
                document.getElementById("changing_image").innerHTML='<img src=Peng%20uins.jpg>';
            }
        </script>
    </head>
    <body>
        <a onclick="change1()"><button>Image 1</button></a>
        <a onclick="change2()"><button>Image 2</button></a>
        <a onclick="change3()"><button>Image 3</button></a>
        <div id="changing_image"></div>
    </body>
</html>