Anyone use bbpress with wordpress here?

|
tinkerbell1708 2021-03-20 18:57:16
If pid exists then increase the quantity
amarj234 2021-03-20 18:58:09
tinkerbell1708 2021-03-20 18:56:59
Check in the cart for the pid

if(isset($_POST[‘pid’])){

$pid= $_POST[‘pid’];
if($_SESSION[‘cart’] [‘pid’] = $pid){

tinkerbell1708 2021-03-20 18:58:38
amarj234 2021-03-20 18:58:09
if(isset($_POST[‘pid’])){

$pid= $_POST[‘pid’];
if($_SESSION[‘cart’] [‘pid’] = $pid){

No

amarj234 2021-03-20 18:58:40
like this but its not working
amarj234 2021-03-20 18:59:19
tinkerbell1708 2021-03-20 18:58:38
No

how please tell me

tinkerbell1708 2021-03-20 19:00:28
First write
print_r($_SESSION);
show what exactly u r getting
tinkerbell1708 2021-03-20 19:01:05
Actually u have to use foreach there
And in foreach u have to check for the pid
tinkerbell1708 2021-03-20 19:04:28
for each( $_SESSION[‘cart’] as item){
if(item[pid] ==$pid ){
item[qty] = item[qty] + $_POST[‘qty’];
}
}
amarj234 2021-03-20 19:06:38
tinkerbell1708 2021-03-20 19:00:28
First write
print_r($_SESSION);
show what exactly u r getting

I am using Ajax to add cart data

tinkerbell1708 2021-03-20 19:07:08
amarj234 2021-03-20 19:06:38
I am using Ajax to add cart data

So what
It will work

tinkerbell1708 2021-03-20 19:07:26
U have to put this code in that Ajax file
amarj234 2021-03-20 19:08:19
tinkerbell1708 2021-03-20 19:04:28
for each( $_SESSION[‘cart’] as item){
if(item[pid] ==$pid ){
item[qty] = item[qty] + $_POST[‘qty’];
}
}

Brother i did it but not working

tinkerbell1708 2021-03-20 19:10:35
amarj234 2021-03-20 19:08:19
Brother i did it but not working

Can we connect

amarj234 2021-03-20 19:11:45
tinkerbell1708 2021-03-20 19:10:35
Can we connect

yes

amarj234 2021-03-20 19:15:32
codeslide-27723.jpg

amarj234 2021-03-20 19:16:14
codeslide-27724.jpg

Nirmal Kumar 2021-03-21 05:56:58
Can you send a pdf book plif code
2021-03-21 07:59:18
I have PowerBi+SQL+tableaue+SSAS+SSRS+SSIS with low price any one Intrested ping me personally
Tatt00girl 2021-03-21 10:14:54
Anyone use bbpress here ?
tinkerbell1708 2021-03-21 10:57:23
U can make table using HTML and then Implement php in that
tinkerbell1708 2021-03-21 11:02:19
<!DOCTYPE html>
<html>
<body>

<h2>Basic HTML Table</h2>

<table style=”width:100%”>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>

tinkerbell1708 2021-03-21 11:02:30
This is html table
Tatt00girl 2021-03-21 11:19:09
Anyone use bbpress with wordpress here ? I’ve got another php problem…help please ?
kameshindore 2021-03-21 12:10:39
Using <?php yourcode….?>
q12612 2021-03-21 12:54:39
hi . how to scroll down a element using php / javascript anyone tell me answer please if you know.
Nirmal Kumar 2021-03-21 13:15:45
Can anyone send me a pdf flip book code?
Moad Ahammad 2021-03-21 23:58:54
kiss_shot 2021-03-19 01:28:43
Stream on fb or like FB

on fb

sathishkumar1 2021-03-22 07:00:41
codeslide-27790.jpg
add_rewrite_endpoint not working.. any one help to me?
mProgram 2021-03-22 09:50:17
how can i block ctrl key combination with javascript
mProgram 2021-03-22 09:51:37
codeslide-27813.jpg
used this code ….but doesnt work…can anyone correct
tinkerbell1708 2021-03-22 12:13:52
Bro u can use anything
But before doing anything in php first u have to create the design in html
Ucihadermawan 2021-03-22 12:58:54
I suggest you to use easy ui datagrid cause I see the design look familiar with easyui datagrid
Soumen954 2021-03-22 13:11:23
Any one know how to remove all console.log and also get post request method
ayeetee 2021-03-22 15:00:16
any react js and node js expert here?
2021-03-22 15:04:15
Anyone know how to do curd in core php without create any database
|