How to calculate debit credit and balance in SQL | how to display user balance in mysql
<?php $connpans = mysqli_connect(‘localhost’,’user’,’pass’,’db’); $sqlp=”select * from login_user”; $resultp=mysqli_query($connpans,$sqlp); $userdata=mysqli_fetch_assoc($resultp); $wallet = $userdata[‘wallet’]; if ($userdata[‘wallet’] == “”) { $balance = 0; } else { $balance = $userdata[‘wallet’]; ///output balance: 100.9872749837958…
Font style in CSS | HTML font family list | how to change font style in html
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> And in the stylesheet body { font-family: 'Roboto', sans-serif; } In any case the desired font must be available when the client displays the page. You can…
@media only screen desktop css | How to use media query for mobile |How to target desktop, tablet and mobile using Media Query
The media attribute specifies what media or device the linked document is optimized for. This attribute is used to specify that the target URL is designed for special devices (like iPhone),…
Image upload copy paste in wordpress plugin | How to copy and paste a picture found on the web to wordpress easily
Enable copy & paste images feature You need to install and activate The Paste plugin Download to enable the clipboard image paste feature onto your WordPress. Image upload copy…
Export and import android studio project | How to open or save Android Studio project
How can you save the project you have created, as well as how you can open it, in Andorid Studio today we are going to teach. Export and import android…
How to place ads between blogger post title and bottom and post | HTML to XML Parser Convert Online
Why Only Our AdSense Code Converter? Our Google AdSense Code Converter is the fastest AdSense Ad code converter on the web. It is a useful tool to parse AdSense Ad…
Right Click Disable Code – Copy Past Disable Code
Right Click Disable Code <script language=javascript> <!-- //Disable right click script - By freecontant.com // var message="Function Disabled"; //////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e)…
Simple calculator program in Java source code
Simple calculator program in Java source code <! DOCTYPE html> <html> <head> <meta charset=“utf-8”> <title> Calculator using HTML Example </title> <link href=“https://fonts.googleapis.com/css2?family=Cookie&display=swap” rel=“stylesheet”> <!– CSS property to create interactive calculator interface —> <style> html { height: 100vh; display: flex; align-items: center; justify-content: center; background-color: #2d3436; background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%); font-family: ‘Cookie’, cursive; } .title { margin-bottom: 10px; padding: 5px 0; …
How to get current page URL in PHP? $_SERVER || How to find url or domain path $_server or $_session
To get the current page URL, PHP provides a superglobal variable $_SERVER. The $_SERVER is a built-in variable of PHP, which is used to get the current page URL. It is…
select value to another value show with javascript || selected value according price and rate show with javascript
selected value according price and rate show with javascript, Set and get range values, text, or formulas using the Excel JavaScript API <html><head></head><body> <form action="" method="POST"> <div style="width:100%; margin-left:1%;"> <div…