previous message implies that you are prepared to offer personal assistance.
No not really. I think he/she got an assignment/project in his School/University and obviously he was not paying attention in all those lectures, so he does not know where to start from and obviously the question for him seems to be alien at this minute and am sure clock is ticking and now all he is bothered about is final product to submit and get pass grade.
My idea is to first train him on how to make sense of the question, what all he can try before asking question here and when he tried enough then what is the best possible manner to ask question here or any other tech forums. If he is running out of time, it's better to fail and then stand up rather than giving up so early and relying on someone else's work.
So all in all, I am not going to work for him but yes if he wants I can put him in a right direction and obviously for similar reason, I ignored his private email and ask him to reply on this thread.
There are a few pre-baked solutions for it. As I generally work the MS stack, the two that jump to my mind are WebAPI2 and Nancy. The core component, though, is that the server does not maintain state (or session) information for the client, each connection is treated as an atomic operation.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
If the rating has been provided then you can simply fetch the record for rating (fetch that column in MySQL) and render it in HTML. There is no need for select at all, otherwise if you want to provide updating of it too, then still create a rating select, but chose selected attribute for a special one that was selected by user.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
although my html output is showing correct result like this:
<tr><tdstyle="padding: 10px;"><h1>Work Performance</h1><p>Efficient execution of duties.</p><selectname="cboRating"id="cboRating"data-native-menu="false"required><optionvalue="">[Select..]</option><optionvalue="1">Outstanding</option><optionvalue="2">Exceeds Expectations</option><optionvalue="3">Meets Expectations</option><optionvalue="4">Needs Improvement</option><optionvalue="5">Unsatisfactory</option></select></td></tr><tr><tdstyle="padding: 10px;"><h1>Technical Knowledge and Skill</h1><p>Mastery of job knowledge and skills required to perform the duties of the position.</p><selectname="cboRating"id="cboRating"data-native-menu="false"required><optionvalue="">[Select..]</option><optionvalue="1">Outstanding</option><optionvalue="2">Exceeds Expectations</option><optionvalue="3">Meets Expectations</option><optionvalue="4">Needs Improvement</option><optionvalue="5">Unsatisfactory</option></select></td></tr>
here is my code:
if (is_array( $_POST['cboRating']))
foreach($_POST['cboRating'] as $key=>$value)
echo"Key : " . $key . "<br><br>";
echo"value : " . $value . "<br><br>";
echo"SELECT is not an array";
Some of you know that I have been trying forever to get a simple SignalR app hosting on my server.
According to the docs[^] you can Self Host, which appears to be a simple console app - not sure how THAT would work on a server), and also in a Windows Service (?? Would you install a Windows Service on you server just to do this?)
Yet the docs pages says NOTHING about hosting in IIS, and any progress you make towards it is the result of hours of Googling. I have been through DOZENS of web pages & blogs about how to get it hosted in IIS. Yet I have not found a single page that actually shows or walks you through creating a SignalR server app and installing it on IIS. Some of you have pointed me to a few pages, but they fall short.
I finally came across a page about creating a Web Deploy Package[^] and I was able to copy the package to my server and install it in IIS using Deploy=>Import Application... IIS reported that it was successful.
You need to check which port your device connects at. Also, make sure to install the device drivers on your machine, Windows requires drivers to run the devices. If things get more interesting, and you just have to read the messages then you can use a web service in the network and keep pushing the SMS details to the PC. Android – Listen For Incoming SMS Messages - Stack Overflow[^], read this and use the function to push the data to server for sending to PC. You may use PC as server.