Can someone give me a function to use so that it can display for a period of time after the condition it met?

|
2021-12-02 19:33:01
<?php
$my_text_file = “file.txt”;
$all_lines = file($my_text_file);
echo $all_lines[2];
$handle = fopen(“file.txt”, “r”);
if ($handle) {
while (($line = fgets($handle)) !== false) {
if($line = “+32472087741”);
{
echo “ak”;
}
}

fclose($handle);
} else {
// error opening the file.
}
?>

2021-12-02 19:33:06
what am i doing wrong?
Shiv_95 2021-12-02 21:08:18
Hi guys I am initializing a tool tip I want to show data in table in a tool tip but it’s not showing anything the data is loaded using ajax any suggestions or help would be appreciated thanks
Ismart_akash 2021-12-02 21:39:14
public function get_inv_data()
{
$start = intval($this->input->post(‘start’));
$limit = intval($this->input->post(‘length’));
$draw = intval($this->input->post(‘draw’));
$search_term = $this->input->post(‘search[value]’);
$search_db_val = (isset($search_term) && $search_term != ”) ? $search_term : ”;

$total_records = intval($this->master_inventory_model->get_count($search_db_val));
$inv = $this->master_inventory_model->get_data($limit, $start,$search_db_val,$order_by_col,$order_dir);

if(is_array($inv))
{
foreach($inv as $result)
{
switch($result[‘stock_status’])
{
CASE ‘open’ : $stock_status = ‘open’;
break;

CASE ‘closed’: $stock_status = ‘Visible Online’;
break;

CASE ‘blocked’: $stock_status = ‘Hidden Online’;
break;

default: $stock_status = ”;
}

$result[‘stock_status’] = $stock_status;
$result[‘register_time_custom’] = date(‘d-M-Y’,$result[‘register_time’]);

$inv_data[] = array($result[‘cso_no’],$result[‘vin_no’]);
}

echo json_encode(array(“draw”=>$draw,”recordsTotal”=>$total_records,”recordsFiltered”=>$total_records,”data”=>$inv_data));
}
}

Using data table it’s controler code

Ismart_akash 2021-12-02 21:40:02
function get_data($limit=”,$offset=0,$vals=”,$order_col=’id’,$order_type=’desc’)
{
if(isset($vals)&& $vals!=””)
{
$valsexp = explode(‘ ‘,$vals);

foreach($valsexp as $val)
{
$this->db->group_start();
$this->db->like(‘cso_no’,$val, ‘both’);
$this->db->or_like(‘vin_no’,$val, ‘both’);
$this->db->or_like(‘dlrid’,$val, ‘both’);
$this->db->or_like(‘current_allocation_dlr’,$val, ‘both’);
$this->db->or_like(‘transfer_date’,$val, ‘both’);
$this->db->or_like(‘brand’,$val, ‘both’);
$this->db->or_like(‘model’,$val, ‘both’);
$this->db->or_like(‘submodel’,$val, ‘both’);
$this->db->or_like(‘engine’,$val, ‘both’);
$this->db->or_like(‘variant’,$val, ‘both’);
$this->db->or_like(‘product_id’,$val, ‘both’);
$this->db->or_like(‘order_status’,$val, ‘both’);
$this->db->or_like(‘ext_colour’,$val, ‘both’);
$this->db->or_like(‘ext_colour_code’,$val, ‘both’);
$this->db->or_like(‘int_colour’,$val, ‘both’);
$this->db->or_like(‘int_colour_code’,$val, ‘both’);
$this->db->or_like(‘bu_kd’,$val, ‘both’);
$this->db->or_like(‘model_yr’,$val, ‘both’);
$this->db->or_like(‘mfg_yr’,$val, ‘both’);
$this->db->or_like(‘vehicle_ready_date’,$val, ‘both’);
$this->db->or_like(‘bu_custom_clear_date’,$val, ‘both’);
$this->db->or_like(‘kspecs’,$val, ‘both’);
$this->db->or_like(‘stock_status’,$val, ‘both’);
$this->db->or_like(‘invoice_date’,$val, ‘both’);
$this->db->or_like(‘update_source’,$val, ‘both’);
$this->db->or_like(‘last_update’,$val, ‘both’);
$this->db->or_like(‘created_on’,$val, ‘both’);
$this->db->group_end();
}
}
if($limit==’count’)
{
$query = $this->db->get(‘master_inventory’);
//echo $this->db->last_query();
return $query->num_rows();

}
else
{

$this->db->limit($limit,$offset);
$this->db->order_by($order_col,$order_type);
$this->db->order_by(‘vehicle_ready_date’,’desc’);
$query = $this->db->get(‘master_inventory’);
// echo $this->db->last_query();
//log_message(‘info’,$this->db->last_query());
if($query->num_rows() > 0)
{
/*foreach($query->result_array() as $row)
{
$result[] = $row;
} */
//print_r($result);
$result = $query->result_array();
return $result;
}
else return 0;
}
}

Model. Code

2021-12-03 09:59:21
Greeting From Apps Business IT Solutions Pvt Ltd!!!

Hiring Freelancers for PHP Developer
Location: Remote
Experience: 3+ years
Project duration: 3 – 6 Months
Notice: Immediate – 15 days

If interested share your resume to vipin.c@ssinfrallp.com

Sridhar G 2021-12-03 12:22:49
Hi all,Any Perl developer is in this group.

I am looking for Perl Script developer for a 1 yr contract.Only serious candidates can ping me directly.

Exp must be :2-3 yrs

If you don’t know PERL don’t ping.

Thanks

Acird Burn 2021-12-03 12:27:33
Sridhar G 2021-12-03 12:22:49
Hi all,Any Perl developer is in this group.

I am looking for Perl Script developer for a 1 yr contract.Only serious candidates can ping me directly.

Exp must be :2-3 yrs

If you don’t know PERL don’t ping.

Thanks

You should try upwork given that this is a php developer group I doubt you’ll get a peel developer here

madhu_nmk 2021-12-03 12:35:07
Anyone have php videos please dm
Mohit 2021-12-03 15:29:54
Anyone here who can help in creating a registration page??
Lexxiewolfer 2021-12-03 15:51:00
luv_php-41570.jpg
please can someone help, I want to display that message however a user won’t see the message because condition is only true for a few milliseconds. can someone give me a function to use so that it can display for a period of time after the condition it met ??
Lexxiewolfer 2021-12-03 15:51:12
or similar?
Lexxiewolfer 2021-12-03 15:51:48
I have a separate isset that actually deletes the user. I have separate the two to work on this feature.
Lexxiewolfer 2021-12-03 15:51:53
I am learning 🙂
E1_padrino 2021-12-03 15:58:31
I need exact replica of a script “https://interactive-index.io/en/index.html”

CFDs & Forex | Online Trading| CMC Marketsinteractive-index.io
Trade CFDs with CMC Markets, a leading global provider. Trade on up to 10,000 instruments, including forex, indices, commodities, shares and treasuries.
Akhil9826 2021-12-03 16:18:45
Mohit 2021-12-03 15:29:54
Anyone here who can help in creating a registration page??

Yess tell me

Ajay Dabas 2021-12-03 16:56:21
#Javascript
#ImmediateJoiner

Hi All
We are looking for JavaScript Developer
Key skills are :
CSS3 HTML5 , Bootstrap
Good knowledge of other framework like Angular , Reactjs ,Knockoutjs
Working knowledge of jQuery
Experience : 3-8 yrs
Salary. : 15-20 LpA
Notice period: immediate joiner
Location : WFH ( for next 6 months after that Bangalore ,Noida ,Gurgaon )

Interested candidates can share CV at
Ad@Nascentvision.com
Shanu@Nascentvision.com

2021-12-03 17:09:49
Anyone here to help in js?
T P 2021-12-03 17:33:29
Mohit 2021-12-03 15:29:54
Anyone here who can help in creating a registration page??

Yes

2021-12-03 22:06:09
Anyone here pho developer
Lexxiewolfer 2021-12-04 10:43:52
Lexxiewolfer 2021-12-03 15:51:00
please can someone help, I want to display that message however a user won’t see the message because condition is only true for a few milliseconds. can someone give me a function to use so that it can display for a period of time after the condition it met ??

Anyone?

Singhm123 2021-12-04 10:53:51
Lexxiewolfer 2021-12-03 15:51:00
please can someone help, I want to display that message however a user won’t see the message because condition is only true for a few milliseconds. can someone give me a function to use so that it can display for a period of time after the condition it met ??

Set a session variable and destroy after specific time.

Lexxiewolfer 2021-12-04 10:54:30
A session when they click the link?
Lexxiewolfer 2021-12-04 10:54:51
You can private message me (if you don’t mind) to explain?
Singhm123 2021-12-04 10:56:09
Lexxiewolfer 2021-12-04 10:54:51
You can private message me (if you don’t mind) to explain?

Set when you run your query.

Lexxiewolfer 2021-12-04 10:57:01
So in the while loop then?

Sorry I appreciate the help, I am just not sure that I understand?

iy00021 2021-12-04 11:53:50
How to connect php and mongo db in linux operating system ???
Please send me connection code
Thanks 😊😊
gopal krish 2021-12-04 17:37:19
Mohit 2021-12-03 15:29:54
Anyone here who can help in creating a registration page??

I cannot a
Understand what did you expect

2021-12-04 21:49:26
I am
2021-12-04 21:50:59
2021-12-03 22:06:09
Anyone here pho developer

I am php developer with laravel framework

2021-12-04 21:53:27
Aayushi 2021-12-01 18:19:04
Hiring for below technology:
React Js
React Native ( experience 6+ years)
Java
Angular
Dot net
Ruby on Rail
QA testing
PHP Larvel

With relevant experience of 3+ years.
Kindly DM me.

I am interested

RR 2021-12-04 22:56:07
luv_php-41620.jpg

RR 2021-12-04 22:56:16
How to solve this
RR 2021-12-04 22:56:43
Error in cashfree integration
RR 2021-12-04 22:56:54
Please help
|