@@ProgrammingExperienceyes already checked it and it's correct. I also did console.log in ejs file I am getting all my database in terminal instead of for loop I used foreach it's working perfectly only for loop is not working!
i checked so many time .... app.get("/view", function(req, res) { con.connect(function (error){ if (error) console.log(error); var sql = "SELECT * FROM addnewtask"; con.query(sql, function(error, result) { if (error) console.log(error); res.render(__dirname+"/view",{viewtask:result}); }); }); }); app.listen(8080); can you please tell me the error.....
Very easy expressing all the steps
Thanks brother 👍
Very helpful video you are providing, thankyou ❤
Your welcome brother 👍❣️
You Explained it in very well manner
Please make more such video
Okay sure
You are doing a great work... Learnt so much from your tutorials... Thank you for making videos on these topics ✌✌🙌🙌
Welcome dear👍
you are teaching to the point thats great👍👍
Thanks brother 👍
awesome video with explanation. really helpful.
Your welcome dear 👍
thanku bvery much, very helpful;l
Your welcome brother 👍
thanks always for providing great tutorials. this
Are you installed ejs in current project?
@@ProgrammingExperience yes
@@usamamirza4126 are you create .ejs extension file?
@@ProgrammingExperience yes but still not working
@@usamamirza4126 are you debug the code?
thanks boss
Your welcome brother 👍
Is video mai query Kam or ejs jyada sikha diya😢
Or is series me MySQL download and setup(phpmyadmin) bhi nahin bataya,
Sorry bhai par mere ko paga vo to sabhi jante honge, aap ek kaam karo xampp install kar lo apne aap phpmyadmin aa jayega.
hello
what can i do so that if i enter only field in the table all the other info related to it in the databse will pop up
I can't understand your mean.
Type error printing like this
Pls check data format before sending on view.
Why showing Type error printing like this
Because something wrong in your code
@@ProgrammingExperienceyes already checked it and it's correct. I also did console.log in ejs file I am getting all my database in terminal instead of for loop I used foreach it's working perfectly only for loop is not working!
Please upload the ZIP file of code of this node js video
I need to check this code in my system.
when i am trying to run in console then its working fine but when i trying to run on webpage it show the error Cannot GET/view
Please check your route method.
i checked so many time ....
app.get("/view", function(req, res) {
con.connect(function (error){
if (error) console.log(error);
var sql = "SELECT * FROM addnewtask";
con.query(sql, function(error, result) {
if (error) console.log(error);
res.render(__dirname+"/view",{viewtask:result});
});
});
});
app.listen(8080);
can you please tell me the error.....
@@vikipatel6428 don't paste code here just send me on my mail.
I am getting data in console but not rendering webpage ,its showing No default engine was specified and no extension was provided error
Have you installed the ejs view engine?
Yes
Then what is problem I can't recognise Sir plz help
@@yaminibonde9107 hmm then you need to debug the your issue.
How to do that
form resubmission prevent kasie hoga node js me
Using ajax brother 👍
I am getting data in console but not loading in webpage?
Have you checked the what's the issue?
browser me mera table me data render nho ho rha hai??
Kya problem aa rahi hein??
@@ProgrammingExperience ho gya Bhaiya ho gya 🫶
@@ProgrammingExperience aapki Insta I'd kya hai ??
@@anujkumar7943 okay brother 👍
@@anujkumar7943 bhai social media chat apps used nahi karta hu mein
Not getting data in console plz help
Please run your query in mysql then please check.
iis video ka code kaha milega
Pata nahi bhai
Sir code nahi hy es tutorial ka
Nahi h brother
Sir ejs not working solution bta do
Simple hein ejs install karo routes mein define kar do view engine and used karo
Sir support hi ni kr rha h .ejs file m
Sir I'd undefine bta rha h
Sir apna Instagram drop kr do us pr problem bta dunga
@@AmanKumar-hy4ki are yaar aise kaise nahi karega usko bolo ki kaam kare meri fike mein tab karega 😀