Where you define the function ?
main problem ye a rha jab user keyword search krta hai to page refesh nhi hota same page mein new keyword search hokar data show kr deta to usko kase count kru?
agar id hota to ajax se kase hota ?
demo ya code hai koi?
Any one know about this?
What is the array name you are printing here?
BTW. Onclick you should have a function set up that will send an AJAX call to your PHP backend. The backend should collect the data and then insert it into the database.
How to ??



Where you define the function ?
π€π€yea that’s what I’m thinking

π°π°π°π°π°
I have a seo keyword search webpage. I want set limit in keyword searches. user can search 20 keyword search per day. if user completed 20 search then show user “you have reached your today limit”.
P_A_I_D T_A_S_K
I’m using php
I have a seo keyword search webpage. I want set limit in keyword searches. user can search 20 keyword search per day. if user completed 20 search then show user “you have reached your today limit”.
P_A_I_D T_A_S_K
I’m using php
Make table count
user_id,count, date
user_id,count, date
main problem ye a rha jab user keyword search krta hai to page refesh nhi hota same page mein new keyword search hokar data show kr deta to usko kase count kru?
…keywords-explorer/google/in/overview?keyword=java
…keywords-explorer/google/in/overview?keyword=seo
…keywords-explorer/google/in/overview?keyword=digital
bas ye last wala word change hota hai
Simple search button per user id lo aur ajax se db m bhjo
nhi le salta vo only class hai uska
agar id hota to ajax se kase hota ??
demo ya code hai koi?
But when I check in console
I am getting beacon.min.js?
Please let why I am getting this

(
[0] => Array
(
[id] => 1
[product_name] => Chanel
[categories_id] => 1
[product_price] => 3000
[product_img] => 147895078_img1.jpg
)
[1] => Array
(
[id] => 5
[product_name] => MONAKO
[categories_id] => 2
[product_price] => 3000
[product_img] => 219279499_img2.jpg
)
[2] => Array
(
[id] => 8
[product_name] => ROLEX
[categories_id] => 2
[product_price] => 6000
[product_img] => 927205746_img11.jpg
)
[3] => Array
(
[id] => 10
[product_name] => IWC
[categories_id] => 2
[product_price] => 1200
[product_img] => 938843880_img5.jpg
)
[4] => Array
(
[id] => 12
[product_name] => FOSSIL
[categories_id] => 2
[product_price] => 67
[product_img] => 320301237_img6.jpg
)
[5] => Array
(
[id] => 18
[product_name] => kk
[categories_id] => 1
[product_price] => 123
[product_img] => 298273360_img12.jpg
)
[6] => Array
(
[id] => 19
[product_name] => FOSSIL
[categories_id] => 1
[product_price] => 5000
[product_img] => 535341153_img8.jpg
)
)
I want to grab the first array how can I grab it. I am new to php. I am just learning it for project
Array name and index 0,example if array name is A then print_r($A[0])
Can you write the code for it how I will display it’s I am getting you.
(
[0] => Array
(
[id] => 1
[product_name] => Chanel
[categories_id] => 1
[product_price] => 3000
[product_img] => 147895078_img1.jpg
)
[1] => Array
(
[id] => 5
[product_name] => MONAKO
[categories_id] => 2
[product_price] => 3000
[product_img] => 219279499_img2.jpg
)
[2] => Array
(
[id] => 8
[product_name] => ROLEX
[categories_id] => 2
[product_price] => 6000
[product_img] => 927205746_img11.jpg
)
[3] => Array
(
[id] => 10
[product_name] => IWC
[categories_id] => 2
[product_price] => 1200
[product_img] => 938843880_img5.jpg
)
[4] => Array
(
[id] => 12
[product_name] => FOSSIL
[categories_id] => 2
[product_price] => 67
[product_img] => 320301237_img6.jpg
)
[5] => Array
(
[id] => 18
[product_name] => kk
[categories_id] => 1
[product_price] => 123
[product_img] => 298273360_img12.jpg
)
[6] => Array
(
[id] => 19
[product_name] => FOSSIL
[categories_id] => 1
[product_price] => 5000
[product_img] => 535341153_img8.jpg
)
)
I want to grab the first array how can I grab it. I am new to php. I am just learning it for project
What is the array name you are printing here?
Do print_r($data[0])