25 Posted Topics
Hi, i am beginer to codeignitor,i know how to write basic active queries in CI. i want to know how to write a query(having multiple conditions,double parentheses) in which supports CI. query is: $query="SELECT * FROM `apply_special_leave` WHERE ((`from_date` <= '$dt1' AND '$dt1' <= `to_date`) OR (`from_date` between '$dt1' AND … ![]() | |
Hi iam working on one scenario.. employe A send a Requesting mail to Project manager B, project manager B approves a request from employee and send the mail to project manager C for further process,after approving from project manager C it will go to department head like this... so here … ![]() | |
Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for this..it has two parts(2 coloums).in the first coloumn iam displaying messages with employe name,id nd subject(just like preview of the … | |
Hi, how to pass variable value inside js. i want to add **Days** value to **From** date and dispaly it as **To** date here is my code,please go through it,i have explained in comments HTML days:<input type="text" id="capped_days">//manual i/p From:<input id="dt1" type="text">//date picker1 To:<input id="dt2" type="text">//datepicker2 javaScript $("#dt1").datepicker({ dateFormat: "dd-M-yy", … | |
hii, it may b very simple or very basic thing but iam confused in this case...any one can explain usage of single & double quotes in **echo** statement <?php $x = "test"; echo '$x';//produces $x as a output echo "$x"; //produces test as a output ?> | |
hi iam a new to this laravel framework,em getting error while running contact page. anyone having idea about this?? the code is: @extends('layout') @section('content') <h1>Contact Us.</h1> <p>Please contact us by sending a message using the form below:</p> {{ Form::open(array('url' => 'contact')) }} {{ Form::label('Subject') }} {{ Form::text('subject','Enter your subject') }} … | |
Hi all, How to send messaaage to phone number from website using PHP...need urgent help. | |
if once i click on the Accept button it should change its state to Accepted and that button should be disabled for the future.it should stay in disabled state even after refreshing a page,help me as soon as possible...Urgent | |
iam facing this problem while transfering my site from localhost to live server using duplicator plugin.please see this below attachment Any suggetion?? | |
Hiiii,Good Evening I have a code that search for data in the database but I can search for only 1 keyword in a time,which is working fine for single keyword. if I type 2 keywords separated by a space or comma's which return blank page. I would like to modify … | |
i have installed wordpress in localhost,till yesterday it was working properly.but now i have tried to login to admin panel using **localhost/destin/wp-admin**,it is simply redirecting to http://localhost/destin/login/?redirect=http%3A%2F%2Flocalhost%2Fdestin%2Fwp-admin%2F this url.i have also a tried **localhost/destin/wp-login.php** in this case also it is redirecting to some strange URL.pleasehelp me ASAP | |
i want to clear all data in databse automatically for everymonth.iam using xampp. | |
Re: use this simple code,to retrive paricular user information <!DOCTYPE html> <head></head> <body> <?php session_start(); mysql_connect('localhost','root','') or die (mysql_error()); mysql_select_db('Encrypt') or die("cant select db"); if(isset($_SESSION['username'])) //cheking the user is logged in { echo $username = $_SESSION['username']; echo"<br/>"; echo "hello".$username."<br>"; //if so,then display user name } $sql="SELECT * FROM users WHERE username='$username'"; … | |
Hi Good Morning every one.. This is my Html Code. <div> <img src="http://imgs.zinio.com/magimages/500299032/2012/416238969_170.jpg" alt="Nov-12" title="Food Network Magazine" class="cover"> </div> <select id="myselect"> <option value="B">Business Card</option> <option value="C">Corporate Card</option> <option value="D">Type #</option> </select> consoder i have three different images ,if i choose Business Card option it will show default image,if i choose … | |
how to export asp.net(using sql server as database) project from localhost to godaddy server??please help me | |
Hiii, I need very urgent help.i have developed one wordpress site,now i want to move that site to server.please any body help me, how to move wordpress site **from localhost(using xampp) to server(using Godaddy)**. | |
what is the html code for **if we move our cursor on the image, the image name should appear**?? please help me urgent | |
Hi Everyone, i need urgent help from you.iam trying to send mail using php mail() functions.iam using XAMPP server.if i run above code iam getting "succesfuuly sent" message as a output but iam not getting any mail in my inbox address.please help methis is my code. <?php if(isset($_POST['submit'])) { $name=$_POST['name']; … | |
Hii.. i want to learn mvc for php,can anybody please help me??? | |
how to split numbers in php?i need a PHP code for this input.if the input is 143,i need output as **8**(tat is sum of 143{1+4+3}) | |
Can any body teach me dispaying data in Grid View using php, and also edit/update/delete a data in gridview.? | |
this is my shash.html page <!DOCTYPE HTML> <html> <head> </head> <body> <form action="shash.php" method="post"> Name:<input type="text" name="username" id="username"> <span class="error">*<?php echo "$nameError" ; ?></span> Password:<input type="password" name="password" id="password"><br> Email:<input type="text" name="email" id="email"><br> <input type="submit" name="submit" value="submit"> </form> </body> </html> this is my shash.php page <?php $nameError=""; $name=""; if(isset($_POST['submit'])){ if (empty($_POST["username"])) … | |
i want to create a image gallery,i want to insert multiple files at a time,that should be stored in a database,and i want to display that in my profile.php as a gallery. | |
<?php session_start(); <?php session_start(); require('connect.php'); if(isset($_SESSION['username'])) { $dir="image/"; $file_name=$dir.basename($_FILES['uploads']['name']); $fileUpload=1; $imageType=pathinfo($file_name,PATHINFO_EXTENSION); $image= addslashes(file_get_contents($_FILES['uploads']['tmp_name'])); $image_name = addslashes($_FILES['uploads']['name']); $image_size = getimagesize($_FILES['uploads']['tmp_name']); if(move_uploaded_file($_FILES['uploads']['tmp_name'], $file_name)) { echo "uploaded succesfully" ; echo "<img src='$file_name' width='50px' height='50px'>"; $querry="SELECT image FROM users WHERE username='$username'" or die(mysql_error()); $result=mysql_query($querry) or die(mysql_error()); $row=mysql_fetch_assoc($result) or die(mysql_error()); $oldimage=$row['image']; unlink('directory/image/'.$oldimage); /* $deleter = … |
The End.