← prev | next →
kameshindore 2020-07-21 18:48:40
2020-07-21 05:57:18
How to send reminder expired date without open site full an fully background process in PHP…
php script with cron job.
php script will check for remainder logic when to trigger.
and cron job will make sure that this script runs in background at defined intervals.
kameshindore 2020-07-21 18:52:48
2020-07-21 15:55:40
Its shows error
is this resolved or need help dear??
2020-07-21 19:57:00
kameshindore 2020-07-21 18:48:40
php script with cron job.
php script will check for remainder logic when to trigger.
and cron job will make sure that this script runs in background at defined intervals.
Tq sir … I try now
2020-07-21 19:57:36
Abhishek Garg:
Hey I just wanted to ask one question!
How much is the approximate revenue AdSense gives?
Like minimum to minimum
For around 1000 views
Which are really interactive and spend 15-20 mins average on website
ipsita11 2020-07-21 20:49:30
<?php
$con=new mysqli(‘localhost’,’root’,”,’video_upload’) or die(‘mysqli_error($con)’);
$query=”SELECT * FROM videos”;
echo $query;
$res=mysql_query($query,$con);
?>
kameshindore 2020-07-21 20:49:51
ipsita11 2020-07-21 20:49:30
<?php
$con=new mysqli(‘localhost’,’root’,”,’video_upload’) or die(‘mysqli_error($con)’);
$query=”SELECT * FROM videos”;
echo $query;
$res=mysql_query($query,$con);
?>
wrong query dear.
kameshindore 2020-07-21 20:50:02
it wont work.
ipsita11 2020-07-21 20:50:12
yeah
kameshindore 2020-07-21 20:50:55
dm me.i will help u as well u understand this thing.
ipsita11 2020-07-21 20:51:09
my doubt is that echo $querry; wil only print a string?
kameshindore 2020-07-21 20:51:26
dm me.i will help u. as well make u understand this thing.
kameshindore 2020-07-21 20:52:11
thats not a issue admin. i dont want to clutter dats y.
kameshindore 2020-07-21 20:52:36
ipsita11 2020-07-21 20:49:30
<?php
$con=new mysqli(‘localhost’,’root’,”,’video_upload’) or die(‘mysqli_error($con)’);
$query=”SELECT * FROM videos”;
echo $query;
$res=mysql_query($query,$con);
?>
ipsita ur using two things mysqli as well as mysql
kameshindore 2020-07-21 20:52:43
thats the main issue.
kameshindore 2020-07-21 20:52:48
in res
kameshindore 2020-07-21 20:52:55
use mysqli_query.
kameshindore 2020-07-21 20:53:21
also in mysqli con comes first
kameshindore 2020-07-21 20:53:58
like mysqli_query($con, $query);
kameshindore 2020-07-21 20:54:03
try this once
kameshindore 2020-07-21 20:54:39
to fetch reault
kameshindore 2020-07-21 20:55:14
result* you need to use
mysqli_fetch_object(); for data in object form
ipsita11 2020-07-21 20:55:23
kameshindore 2020-07-21 20:52:36
ipsita ur using two things mysqli as well as mysql
I thought mysqli use for db connection. And Mysql_ query () function is different
kameshindore 2020-07-21 20:56:02
ipsita11 2020-07-21 20:55:23
I thought mysqli use for db connection. And Mysql_ query () function is different
mysql is deprecated.
kameshindore 2020-07-21 20:57:21
ipsita11 2020-07-21 20:55:23
I thought mysqli use for db connection. And Mysql_ query () function is different
let me know if further help required.
ipsita11 2020-07-21 20:57:45
kameshindore 2020-07-21 20:56:02
mysql is deprecated.
U mean to say instead of every MySQL i have to write mysqli?
kameshindore 2020-07-21 20:58:13
ipsita11 2020-07-21 20:57:45
U mean to say instead of every MySQL i have to write mysqli?
exactly.
kameshindore 2020-07-21 20:58:26
you have to use mysqli
ipsita11 2020-07-21 21:00:06
kameshindore 2020-07-21 20:58:26
you have to use mysqli
Ok thank you
ipsita11 2020-07-21 21:00:19
kameshindore 2020-07-21 20:57:21
let me know if further help required.
Sure
ipsita11 2020-07-21 21:02:28
Bro i had issues so I shared the code.
ipsita11 2020-07-21 21:03:04
Next time . I ll search in w3 school for sure
2020-07-22 07:20:16
Can any one help me?
2020-07-22 07:20:50
I have some problems in laravel
2020-07-22 07:55:50
anyone here who is having experince in magento ?
abhinav_cs 2020-07-22 10:29:41
2020-07-22 07:55:50
anyone here who is having experince in magento ?
Yes
Shubbb 2020-07-22 11:12:29
ipsita11 2020-07-21 20:55:23
I thought mysqli use for db connection. And Mysql_ query () function is different
Mysql is vulnerable to sql injection
ayushi_raghuwanshi 2020-07-22 13:26:04
Can anybody tell me how to show multiple products ordered by customer according to user ID of customer in php
Truecodes 2020-07-22 13:41:02
ayushi_raghuwanshi 2020-07-22 13:26:04
Can anybody tell me how to show multiple products ordered by customer according to user ID of customer in php
Yes I can
ayushi_raghuwanshi 2020-07-22 13:41:52
OK how to do it
Truecodes 2020-07-22 13:42:47
You need to create a order table and insert all the order details with user id in this table.
ayushi_raghuwanshi 2020-07-22 13:43:06
Done kar diya
ayushi_raghuwanshi 2020-07-22 13:43:34
Fir kya karna hai
Truecodes 2020-07-22 13:45:48
And then run select query with where clause like “SELECT * FROM orders WHERE user_id = id”
Truecodes 2020-07-22 13:46:38
To get all the orders of the particular user.
ayushi_raghuwanshi 2020-07-22 13:47:00
Woh bhi kar diya
ayushi_raghuwanshi 2020-07-22 13:49:46
There are three tables
1. Orders table hai usme uid, oid and rest details
2. Second table ordered product hai usme uid, oid, pid hai
3. Product table hai usme pid hai
Now I want products ordered by customer from product table
Truecodes 2020-07-22 13:51:42
Join all 3 tables using JOIN
ayushi_raghuwanshi 2020-07-22 13:51:48
How
Truecodes 2020-07-22 13:53:12
It’s long query let me build that query then I’ll send you
ayushi_raghuwanshi 2020-07-22 13:53:20
OK
← prev | next →