I Believe That The Education And Entertainment Should Be Available For People Who Deserve It.
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.
Sunday, 22 April 2018
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
<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>
Sunday, 4 March 2018
PHP Code | Add Parent On Array | Parent Child JSON Array Using PHP
code in php to add parent Element on array
<?php
$array1=array();
for($i=1;$i<=10;$i++)
{
array_push($array1,['id'=>$i]);
}
$array2->numbers=$array1;
echo $final_output= json_encode($array2);
?>
Sunday, 25 February 2018
Tuesday, 13 February 2018
Include Other Web Pages On Button Click | Dynamic Page Using JavaScript And HTML | WAMP
<center><h1 style="background-color: darkgreen"><font color="yellow">Dynamic Page</font></h1></center>
<table border="1" height="100%" width="100%">
<tr>
<th width="20%" onclick="document.getElementById('dynamic').innerHTML='<iframe src=Pagignation.php width=100% height=100%></iframe>'; ">
First Page
</th>
<th rowspan="4" id="dynamic">
</th>
</tr>
<tr height="85%">
<th>
</th>
</tr>
</table>
Subscribe to:
Posts (Atom)