Why you go a step back in your path if you already are in the folder you have the file you are including? It would be the same '.\connect.php;', isn't it?
Fantastic tutorials....its like really getting the clear concepts watching your tutorials!! I have 1 question.... Is it necessary to give "../php/connect.php" in case of including it or we can directly write include(connect.php)??
excellent tutorials....moreover in hindi its much understandable..ty for this.....I have one query ...I am making a web page for students to see solution of questions. I have takes all questions and answers in png form seperately. Now i want them to fill a scrollable form with option to get there desired question and answer. For ex, they will choose fst class, then subject, then chapter, then exercise, and then question. then after clicking submit button both pics must be displayed in a panel. Please tell me how to do this.
I think you are making A Question and Answer Forum for specific categories. Where Students will select some category then subcategories for that category and finally the questions in that category. ? Am i Correct ?
You have to upload the Images to server and store the links for it into Database. Here are the videos for you : ruclips.net/video/fMD--Uv1k1k/видео.html
Parse error: syntax error, unexpected '"..\NewPHPCODE.php"' (T_CONSTANT_ENCAPSED_STRING) in C:\xampp\htdocs\insert.php on line 2 I m getting this error. My code is of file "INSERT.php" The file name is "NewPHPCODE.php" from which i m connecting What is the issue????? I have completed your first video
i followed the steps that shown in the video "How to insert data into MySQL Database using PHP" , even i'm getting the output as shown in the browser, but the value are not getting inserted in the table............. plsss help if it's possible.......
Hello, Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in F:\xampp\htdocs ew2.php on line 5 Warning: mysql_query(): A link to the server could not be established in F:\xampp\htdocs ew2.php on line 5. this is the error im getting when i try to inset a row into a database. why there is an error from mysql_query()?
Parse error: syntax error, unexpected '"..\testdb\manexinsert.php"' (T_CONSTANT_ENCAPSED_STRING) in C:\xampp\htdocs\testdb\manexinsert.php on line 3 Why i have an error like this?
Notice: Undefined variable: connection_variable_name in C:\xampp\htdocs\Project\insert.php on line 5 Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\Project\insert.php on line 5
FOLLOW the video properly again... you are making same mistake of including a file again and again... Also check your connection.php... follow video step by step and try to replicate all the steps...
Why you go a step back in your path if you already are in the folder you have the file you are including? It would be the same '.\connect.php;', isn't it?
Fantastic tutorials....its like really getting the clear concepts watching your tutorials!! I have 1 question....
Is it necessary to give "../php/connect.php" in case of including it or we can directly write include(connect.php)??
It depends on where you place the connection file, then link it inside include ('demoPath/connect.php ')
Very nicely explained and easy to follow! Thank you :)
Most welcome :)
excellent tutorials....moreover in hindi its much understandable..ty for this.....I have one query ...I am making a web page for students to see solution of questions. I have takes all questions and answers in png form seperately. Now i want them to fill a scrollable form with option to get there desired question and answer. For ex, they will choose fst class, then subject, then chapter, then exercise, and then question. then after clicking submit button both pics must be displayed in a panel. Please tell me how to do this.
I think you are making A Question and Answer Forum for specific categories. Where Students will select some category then subcategories for that category and finally the questions in that category. ?
Am i Correct ?
yes you can say that. Please tell me how its possible. What should i learn for it. Or any video i have to see.
It can be Made using PHP very easily..
ok...how do i make database for images.
You have to upload the Images to server and store the links for it into Database.
Here are the videos for you : ruclips.net/video/fMD--Uv1k1k/видео.html
Am getting the output but my values were not getting inserted. Please help. Thank You in advance.
Parse error: syntax error, unexpected '"..\NewPHPCODE.php"' (T_CONSTANT_ENCAPSED_STRING) in C:\xampp\htdocs\insert.php on line 2
I m getting this error.
My code is
of file "INSERT.php"
The file name is "NewPHPCODE.php" from which i m connecting
What is the issue?????
I have completed your first video
nice
i followed the steps that shown in the video "How to insert data into MySQL Database using PHP" , even i'm getting the output as shown in the browser, but the value are not getting inserted in the table.............
plsss help if it's possible.......
Sure.. Please send us your Code
And debug it with us
Hello,
Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in F:\xampp\htdocs
ew2.php on line 5
Warning: mysql_query(): A link to the server could not be established in F:\xampp\htdocs
ew2.php on line 5.
this is the error im getting when i try to inset a row into a database.
why there is an error from mysql_query()?
+Divya Shri there is a problem in connection
Parse error: syntax error, unexpected '"..\testdb\manexinsert.php"' (T_CONSTANT_ENCAPSED_STRING) in C:\xampp\htdocs\testdb\manexinsert.php on line 3
Why i have an error like this?
Syntax error.. I think quotes are missing
I followed your program all of it neither dots doesn't left but still its not working ...i think its all about the SUBLIME i used
a trick : you can watch series at Kaldrostream. I've been using it for watching a lot of movies recently.
@Milan Jamari yup, I've been watching on KaldroStream for years myself =)
@Milan Jamari Yea, have been using kaldrostream for months myself :)
thnx a lot great work
Welcome.. Thanks for appreciating..
Thank you. Its helpful
Hope you subscribed us
Hy my problem is the connection.. any help please.
Follow the video...
Warning: mysqli_query() expects at least 2 parameters, 1 given in E:\XAMPP\htdocs\php\insert.php on line 5
plz help me
Are you using mysqli or mysql?
Moreover, thanks a mil sir......adios
Hope video's helped you ?
Notice: Undefined variable: connection_variable_name in C:\xampp\htdocs\Project\insert.php on line 5
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\Project\insert.php on line 5
Check two things
1) Include file exists in same location
2) name of connection variable is same as you mentioned
#solutioncone include file exists in same location and connected to DB and name of connection variable is same so you tell me resolve my error
$con = mysqli_connect("$dbhost", "$username", "$password");
mysqli_select_db($con, "$db");
//echo "connected to db";
$query = "INSERT INTO table_my(Name, School, Major, Status)
VALUES(' ', ' ', ' ', ' ');
";
$result = mysqli_query($con, $query);
why is so blurry
Sorry for bad quality
Warning: mysqli_query() expects at least 2 parameters, 1 given in C:\xampp\htdocs\Project\insert3.php on line 5
FOLLOW the video properly again... you are making same mistake of including a file again and again...
Also check your connection.php... follow video step by step and try to replicate all the steps...