Posts

How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php

 How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpmailer in core php How to send mail with phpma...

how to add ckeditor cdn implementation

 <?php  //session_start(); session_start(); error_reporting(1); if(empty($_SESSION['user_email'])){     header('Location:login.php'); } include("database/admin_confi.php"); $id=$_GET['id']; $sqlCate=mysqli_query($conn,"SELECT*FROM maincategor WHERE id='$id'"); $fetchCate=mysqli_fetch_assoc($sqlCate);  ?> <!DOCTYPE html> <html lang="en">      <head>         <meta charset="utf-8" />         <title>Welcome Admin </title>         <meta name="viewport" content="width=device-width, initial-scale=1.0">         <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" />         <meta content="Coderthemes" name="author" />         <meta http-equiv="X-UA-Compatible" content="IE=edge" />         <!-- App ...

how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php

 how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfree payment gateway in php how to integrate cashfr...

How to integrate razorpay payment gateway in php How to integrate razorpay payment gateway in php

 How to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment gateway in phpHow to integrate razorpay payment g...

how to upload csv file on database with php

how to upload csv file on database with php  <?php   if(isset($_POST["submit"])) {  if($_FILES['file']['name'])  {   $filename = explode(".", $_FILES['file']['name']);   if($filename[1] == 'csv')   {    $handle = fopen($_FILES['file']['tmp_name'], "r");    while($data = fgetcsv($handle))    {     $item1 = mysqli_real_escape_string($conn, $data[0]);                   $item2 = mysqli_real_escape_string($conn, $data[1]); $item3 = mysqli_real_escape_string($conn, $data[2]);                   $item4 = mysqli_real_escape_string($conn, $data[3]); $item5 = mysqli_real_escape_string($conn, $data[4]);                   $item6 = mysqli_real_escape_string($conn, $data[5]); $item7 = mysqli_real_escape_string($conn, $data[6]);  $item8 = mysqli_real_esc...

How to Upload File in CodeIgniter

Image
  /////create a tabel  CREATE TABLE ` users ` ( `id` int ( 11 ) NOT NULL AUTO_INCREMENT, `name` varchar ( 100 ) COLLATE utf8_unicode_ci NOT NULL , `email` varchar ( 255 ) COLLATE utf8_unicode_ci NOT NULL , `picture` varchar ( 255 ) COLLATE utf8_unicode_ci NOT NULL , `created` datetime NOT NULL , `modified` datetime NOT NULL , `status` tinyint ( 1 ) NOT NULL DEFAULT '1' COMMENT '1=Active, 0=Inactive' , PRIMARY KEY ( `id` ) ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; Controller (Users.php): <?php defined ( 'BASEPATH' ) OR exit( 'No direct script access allowed' ); class  Users  extends  CI_Controller {     function   __construct () {          parent :: __construct ();          $this -> load -> model ( 'user' );     }      ...

Mastering Email Validation in JavaScript with onchange Event: A Comprehensive Guide

  Mastering Email Validation in JavaScript with onchange Event: A Comprehensive Guide <input type="email" id="emailInput" onchange="validateEmail()"> <span id="emailError" style="color: red;"></span> <script> function validateEmail() { const emailInput = document.getElementById("emailInput"); const emailError = document.getElementById("emailError"); const emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; if (!emailPattern.test(emailInput.value)) { emailError.textContent = "Invalid email format"; } else { emailError.textContent = ""; } } </script>