15,891,253 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Nice Kloe (Top 22 by date)
Nice Kloe
18-May-20 3:29am
View
Thanks for your reply. I replaced the php variable in the name attribute of the radio buttons by a string value (answerProposition), for all the radio buttons. The result isn't better. On three questions for the exams, while choosing the right answer each time, at the end I get right answer: 1, wrong answer : 0, unanswered : 0. If I choose no response for each question, at the end I get right answer : 0, wrong answer : 0, unanswered : 1. What I'm I not getting, please?
Nice Kloe
16-May-20 13:17pm
View
Ohhhh, ok, I understand. So please, any idea/suggestion/working code snippet on how I can get the different chosen candidate's answers to compare them with the correct answers from my DB?
Nice Kloe
16-May-20 12:16pm
View
I didn't do it because it should come from the quiz-page, where I take the exam and send candidate's chosen answers to the processing page. The attribute name for the radio buttons are name='$value['Questionid'];' and on my server page, I try getting the name attribute using $_POST[$value['Questionid']]. Is this wrong, please?
Nice Kloe
6-May-20 12:26pm
View
Thanks immensely. Everything works perfectly now!
Nice Kloe
5-May-20 10:33am
View
Thanks greatly. It works. I can zoom out an image once it's clicked. And the example of the W3School link you posted is exactly the same I used in drafting my code, just that I didn't do things well. Thanks again.
Please, I'll have one tiny issue again, when I click on an image, it doesn't react at first. I have to click on it a second time to have it zoomed out. Any idea of the reason for this behaviour?
Nice Kloe
15-Apr-20 9:09am
View
No, the input is in a td tag, in a table and the type is defined to "button". So there aren't two calls being made on the page
Nice Kloe
15-Apr-20 7:57am
View
I used the network tools and on viewing the "Headers" tab, I can see the Request URL is as such : http://localhost/projects/HTML/select_students.php?sessionId=1. From this, I can see that sessionId is being sent to the server.
On looking at the "Response" tab, I saw that the server returns the "Error 404" message.
There's something which annoyed me somehow: upon looking at the "Headers" tab, I saw the Request Method was defined to "GET". Is this normal?
I admit I'm not an expert at using the inspect element for code debugging. Please, is there somewhere else I have to check to see what is going wrong?
Nice Kloe
15-Apr-20 6:34am
View
I'm not sure it's. On my PHP page, I have an if(isset($_POST['sessionId']) condition which verifies that the sessionId has a value before displaying the details in the modal. But it's the else part of this condition which is being executed each time. I suppose this means the sessionId does not have any value on this page.
At the level of the JS code, I can see the sessionId is correctly grabed from the HTML button and so it's not undefined
Nice Kloe
15-Apr-20 6:34am
View
Deleted
I'm not sure it's. On my PHP page, I have an if(isset($_POST['sessionId']) condition which verifies that the sessionId has a value before displaying the details in the modal. But it's the else part of this condition which is being executed each time. I suppose this means the sessionId does not have any value on this page
Nice Kloe
15-Apr-20 6:22am
View
Thanks for your response @F-ES Sitecore, but I tried and have the same result, no table details displayed in modal
Nice Kloe
1-Apr-20 16:50pm
View
Hello everyone. Please, could I have some more guides on how to solve my problem?
Nice Kloe
30-Mar-20 6:09am
View
Thanks for your response, Richard. But I'm somehow confused. Since the value of the
sessionToPostId
should come from the JavaScript side and be posted to the $_POST['sessionToPostId'], how should I define it? Could you be more explicit, please?
Nice Kloe
4-Oct-19 7:07am
View
Sure. Thanks once more
Nice Kloe
4-Oct-19 6:20am
View
Thanks for this solution. It's true that this could function, maybe with a little more styling; I wish the plus sign was bolder and bigger than how it actually is and lying exactly at the edges of the div block's border
Nice Kloe
18-Jul-19 4:37am
View
I see. Please, tell me, do I have to deploy this solution on an online server for it to work normally? I mean, since I tried with smtp4dev and it went through, if I deploy the solution on an online server, can I expect this to go through?
Nice Kloe
18-Jul-19 3:56am
View
As mentionned previously, I downloaded smtp4dev and installed, then tested my code and the code worked like a charm. I received the email. So, the problem should be my network or settings, right?
Nice Kloe
16-Jul-19 13:42pm
View
Deleted
Thanks. I'll try this and keep you informed
Nice Kloe
16-Jul-19 13:38pm
View
As per point 1, Google sent me a Security Alert email and I confirmed that the activity was from me
As per point 2, I just tried by allowing Less Secure Apps have access to my account, but I end to the same result : the ASP app loads forever.
Nice Kloe
16-Jul-19 11:48am
View
Thanks for your response F-ES Sitecore, but I'm sorry I do not understand what you mean when you say I should "Run a local smtp server (google for "smtp4dev") to try your code basic against."
Nice Kloe
16-Jul-19 11:45am
View
Sorry for this, I copied the wrong code version. This is what I'm actually using : smtp.Host = "smtp.gmail.com"; and the result is the same.
Nice Kloe
23-Jun-19 18:10pm
View
Ohhhhh, thanks for this. Just forgot to mention it, but I'm using C# with ASP.Net MVC
Nice Kloe
22-Jun-19 11:13am
View
Thanks for your answer RickZeeland. The SDK is a good idea. I'll search that way. Please, concerning using ASP.Net for this, what else do you propose me?
Show More