Wednesday, May 28, 2025

Our Latest Products

            


                                                             Boutique Billing Software




                                                                               ERP


Contact - https://websitedevelopmentservices.in/contact

Call us - +91-7080234447

Tuesday, April 22, 2025

Coming Soon.

 



                                                        Go to our Channel - Youtube

Thursday, April 17, 2025

API using Php | How to design API using php (Mysql Addon)




index.php

<?php
$url = "your url";

$web = curl_init();
curl_setopt($web,CURLOPT_URL,$url);
curl_setopt($web,CURLOPT_RETURNTRANSFER,true);

$final = curl_exec($web);

curl_close($web);

$final = json_decode($final,true);
?>
<table border="1">
<tr>
<td>Id</td>
<td>Username</td>
<td>Password</td>
<td>Status</td>
<td>Role</td>
</tr>

<?php
foreach($final['data'] as $val){
echo "<tr>";
echo "<td>".$val['id']."</td>";
echo "<td>".$val['username']."</td>";
echo "<td>".$val['password']."</td>";
echo "<td>".$val['status']."</td>";
echo "<td>".$val['role']."</td>";

echo "</tr>";
}

?>
</table>

getdata.php

<?php
$connect= mysqli_connect("localhost","USERNAME","PASSWORD","DATABASE NAME");
header('Content-Type:application/json');
$sql = mysqli_query($connect,"select * from TABLE NAME");
while($result = mysqli_fetch_assoc($sql)){
   
    $mydata[] = $result;
}
echo json_encode(['data'=>$mydata]);
?>

Monday, April 14, 2025

cURL in php

 



<?php


$web = curl_init();

curl_setopt($web,CURLOPT_URL,"Your URL");

curl_exec($web);

curl_close($web);


?>

Sunday, April 13, 2025

Password Matching Script using Javascript


 <script>

function check(){
   var password = document.getElementById("password").value;
   var cpassword = document.getElementById("cpassword").value;

   if(password==cpassword){
    document.getElementById("status").innerHTML="Matched!";
   }
   else{
    document.getElementById("status").innerHTML="Not Matched!";
   }
}
</script>

<input type="text" id="password" placeholder="Type Password" onkeyup="check()">
<input type="text" id="cpassword" placeholder="Type Confirm Password" onkeyup="check()">
<br/><br/>
<b id="status"></b>

Tuesday, April 8, 2025

Send  Multiple Email with Their Multiple Detail

index.php file

 <form  action="emailsendtoall.php" method="post" enctype="multipart/form-data">           

                   

                     

                      
<?php
include 'db.php';
$sql = mysql_query("select * from tablename");                       // here we are show all email form table , on which we want to send emails
while($result = mysql_fetch_array($sql))
{
?>
<?php echo $result['email']; ?>&nbsp;&nbsp;,&nbsp;&nbsp;
<?php
}
?>


                   

                      <input type = "submit"  class = "btn btn-primary btn-sm" value = "Send"  >

                 

                  </form>

send-email.php file

<?php
require 'db.php';   // database connection file
$sql = mysql_query("select * from  tablename");    // select All Email From Table Name
while($result = mysql_fetch_array($sql))
{

$email = $result['email'];

if($email)
{

$get =mysql_query("select * from member where email = '$email'");
$getr = mysql_fetch_array($get);
$emailuser = $getr['email'];                               // user email
$password = $getr['password'];                      // user password   or  // you can fetch multiple detail which you want to send  
$subject = 'Multiple Email With Their Multiple Details';

$message = "<html><head></head>

<body>
<p>Welcome Message Your Email is  ".$emailuser."<br>


And password is ".$password."<br>


(This is an auto-generated email. Please do not reply. Any further queries will be addressed at aoqr2019@gmail.com)


</body></html>";

 

mail($emailuser, $subject, $message);
?>
<script>
alert("Registration Details Send to All Member");
window.location='index.php';
</script>
<?php

}
else
{
?>
<script>
alert("None Email Remain to send");
window.location='index.php';
</script>
<?php

}

}
?>

Variable , Assign multiple variable in python with short program

  See video -  Go to video Code : # variable x = 7 y = 5 z = 9 print ( x + y + z ) #assign multiple variable x , y , z = "hello...