Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php on page query

$lid=intval($_GET['leaveid']);
$sql = "SELECT erf.id as rid,tblemployees.FirstName,tblemployees.LastName,tblemployees.EmpId,tblemployees.id,tblemployees.Gender,tblemployees.Phonenumber,tblemployees.EmailId,erf.RDEPT,erf.NNEED,erf.PSTN,erf.DNEED,erf.RREQ,erf.NREQ,erf.ELVL,erf.CLNT,erf.SLRY,erf.BSIC,erf.TNPO,erf.QLTY,erf.EJBD from erf 
join tblemployees on erf.empid=tblemployees.id 
join dealer on erf.DEALER_ID=erf.DEALER_ID
where erf.id=:rid";
$query = $dbh -> prepare($sql);
$query->bindParam(':lid',$lid,PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
Comment

PREVIOUS NEXT
Code Example
Php :: advanced custom fields echo string replace 
Php :: laravel view not created using foreign keys 
Php :: php cgi file not fount linux 
Php :: nl_langinfo — Query language and locale information 
Php :: get first cat php wp 
Php :: PHP SimpleXML - Get Node/Attribute Values 
Php :: wordpress function _() not working 
Php :: yii form custom label 
Php :: get datetime of excel cell in codeigniter 
Php :: automatically make created_by and updated_by using observer laravel 
Php :: Drupal 9 check if UUD is valid 
Php :: laravel Error: Unsupported operand types: IlluminateDatabaseEloquentCollection - int 
Php :: laravel eloquent get current sequence value 
Php :: laravel tricks and tips 
Php :: phpImage 
Php :: echo $path not showing composer 
Php :: amazon ami 2 php ini 
Php :: encode string for csv 
Php :: css en linea php 
Php :: export csv file in laravel 
Php :: afiseaza id-ul sesiunii php 
Php :: Update database table row if a qualifying token is provided 
Php :: check which php.ini file enabled from code 
Php :: how to update xampp php version 
Php :: image upload in cake 2 
Php :: php know if city exist gmap api 
Php :: install php 7.4 fpm 
Php :: php send POST request same folder 
Php :: wordpress register_post_type capability gutenberg 
Php :: get array first element key php 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =