<select id=”size”>
<option value=”” selected=”selected”>
<center>Select</center>
</option>
<!– <option value=”” selected=”selected”> Size</option> –>
<?php
$s=1;
while($res_size=fetchAssoc($select_size))
{
$select_size_master=exeQuery(“SELECT * FROM “.TABLE_SIZE_MASTER.” where id='”.$res_size[‘size_id’].”‘ “);
$fetch_size_data=fetchAssoc($select_size_master);
?>
<option data-price=” data-dprice=’0.00′ data-dcolor=’40’ ><?=$fetch_size_data[‘size’];?></option>
<?php
$s++;
}
?>
</select>
</div>
<a href=”javascript:void(0);” class=”cart_link”>
<div class=”pro_cart_text” onclick=”addtocart1(‘<?=$res_id[‘product_id’] ?>’)”>Add to cart <img src=”<?=base_url().’/flipkart/’.”images/loader/cart.png”?>” class=”cart_image” /></div>
</a>
</div>
Come ib I think I can help you ☝️
I wrote a code for Withdrawl. It should store the value in Database but On main server code is running fine but after migrating it is not working.
Is it possible 🥺
(
[0] => Array
(
[0] => 1
[1] => 2
)
[1] => Array
(
[0] => 2
[1] => 3
)
[2] => Array
(
[0] => 3
[1] => 8
)
[3] => Array
(
[0] => 1
[1] => 6
)
[4] => Array
(
[0] => 2
[1] => 3
)
[5] => Array
(
[0] => 3
[1] => 2
)
)
Saya ingin membandingkan nilai pada index[1] berdasarkan key index[0] yang sama.. jika nilai lebih besar maka akan mencetak nilai yg pertama jika lebih kecil akan mencetak terakhir adakah solusinya..
Hasilnya ingin seperti ini
1,2
1,6
Lebih besar 6
3,8
3,2
Lebih besar 8..
Okay, Anyone 🥺🥺
In english, please…
phpsocket io

Exemple…
Is it possible 🥺
Refer php.ini configuration
Put it in its own file and set the auto_prepend_file configuration in the php.ini / .htaccess file to point to it.
Yupp ….
Okay thanks….
<?php
//php 7.3.0
$array= array();
array_push($array,array(1,2));
array_push($array,array(2,3));
array_push($array,array(3,8));
$array2 = array();
array_push($array2,array(1,6));
array_push($array2,array(2,3));
array_push($array2,array(3,2));
$array3 = array();
array_push($array3,array(1,”enm”));
array_push($array3,array(3,”ggg”));
print_r($array3);
$join = array_merge($array,$array2);
foreach($array2 as $key)
{
print(array3);
if(in_array($key[0],$array3))
{
print($key[0]);
}
}
?>
This show
Array
(
[0] => Array
(
[0] => 1
[1] => enm
)
[1] => Array
(
[0] => 3
[1] => ggg
)
)
array3array3array3PHP Warning: Use of undefined constant array3 – assumed ‘array3’ (this will throw an Error in a future version of PHP) in source_file.php on line 27
PHP Warning: Use of undefined constant array3 – assumed ‘array3’ (this will throw an Error in a future version of PHP) in source_file.php on line 27
PHP Warning: Use of undefined constant array3 – assumed ‘array3’ (this will throw an Error in a future version of PHP) in source_file.php on line 27
Process finished.


Line 27
Something
Please can you share any type of information which help to integrate sockets.
Put it in its own file and set the auto_prepend_file configuration in the php.ini / .htaccess file to point to it.
👍 Thanks
I used it for demonstration purpose bsck in 2015
But according to my experience back then, websockets are really tough to awake all the time, you need to assign them separate port, run as a service all time and need to ping them in regular interval. If found idle, websocket stop the service.