Where you define the function?

|
Disha 2021-07-09 13:22:38
peterwander 2021-07-09 13:20:47
onclick is javascript not PHP.
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 ??

Xampp Server 2021-07-09 17:03:28
codeslide-37401.jpg

Xampp Server 2021-07-09 17:03:28
codeslide-37400.jpg

Xampp Server 2021-07-09 17:04:13
I am added revision number R2 but in the table column shows 0
Xampp Server 2021-07-09 17:04:47
codeslide-37403.jpg

Xampp Server 2021-07-09 17:05:30
Anyone know?
KSRrrrrrr 2021-07-09 17:12:56
What’s the prob?
KSRrrrrrr 2021-07-09 17:13:07
Show more detail
yash14x2 2021-07-09 18:57:35
Xampp Server 2021-07-09 17:03:28

Where you define the function ?

CHAMPJJ 2021-07-09 19:52:57
What is this TPL file and smarty template how can i learn it
Bsjshsbsj 2021-07-09 19:56:04
yash14x2 2021-07-09 18:57:35
Where you define the function ?

πŸ€”πŸ€”yea that’s what I’m thinking

noobjoker 2021-07-10 08:54:07
codeslide-37454.jpg
πŸ”°πŸ”°πŸ”°πŸ”°πŸ”°
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
Phpdev21 2021-07-10 08:58:53
noobjoker 2021-07-10 08:54:07
πŸ”°πŸ”°πŸ”°πŸ”°πŸ”°
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

noobjoker 2021-07-10 09:00:52
Phpdev21 2021-07-10 08:58:53
Make table count
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?

noobjoker 2021-07-10 09:01:42
…keywords-explorer/google/in/overview?keyword=php
…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

Phpdev21 2021-07-10 09:01:47
noobjoker 2021-07-10 09:00:52
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?

Simple search button per user id lo aur ajax se db m bhjo

noobjoker 2021-07-10 09:02:23
Phpdev21 2021-07-10 09:01:47
Simple search button per user id lo aur ajax se db m bhjo

nhi le salta vo only class hai uska

noobjoker 2021-07-10 09:02:51
Phpdev21 2021-07-10 09:01:47
Simple search button per user id lo aur ajax se db m bhjo

agar id hota to ajax se kase hota ??

demo ya code hai koi?

sussybaka21 2021-07-10 10:56:16
Localhost not working after saving changes
2021-07-10 10:56:53
Revert Change
sussybaka21 2021-07-10 10:57:10
How to?
2021-07-10 10:57:37
U made the changes na
2021-07-10 10:57:47
Or get the old file from git
sussybaka21 2021-07-10 10:58:38
I mean I’m on vscode and after saving the code and reloading the localhost it’s not changing.
2021-07-10 10:59:57
Control z maar KR Dekh lo…other wise bedug kro
AryanManik 2021-07-10 11:08:36
While I am taking my website to Live I not getting any in table
But when I check in console
I am getting beacon.min.js?
Please let why I am getting this
AryanManik 2021-07-10 11:10:22
codeslide-37477.jpg

AryanManik 2021-07-10 11:14:11
Any one know about this???
Muhammad Ismail 2021-07-10 21:39:29
Array
(
[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

Muhammad Ismail 2021-07-10 21:40:19
Anyone who can help me. I know it’s simple but I am new to php that’s why.
Komal Fartiyal 2021-07-10 22:08:17
Muhammad Ismail 2021-07-10 21:40:19
Anyone who can help me. I know it’s simple but I am new to php that’s why.

Array name and index 0,example if array name is A then print_r($A[0])

Muhammad Ismail 2021-07-10 22:09:19
Komal Fartiyal 2021-07-10 22:08:17
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.

Komal Fartiyal 2021-07-10 22:10:38
Muhammad Ismail 2021-07-10 21:39:29
Array
(
[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?

Muhammad Ismail 2021-07-10 22:11:09
$data
Komal Fartiyal 2021-07-10 22:12:52
Muhammad Ismail 2021-07-10 22:11:09
$data

Do print_r($data[0])

|