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.
I am a Webdesigner with minor experience in C++, Phython, Java and VBA for offline applications who wants to broaden his horizons.
My task was to build a Website where Users can online "preflight" PDF´s (only the most simple things like format and correct bleed).
So I researched how something like this can be achieved, or how such a "service" in general can be integrated into the web.
I stumpled upon things like SOAP, REST and ASP.NET. Now I am totally confused, can someone explain to me what the way to go is, if I have to programm such "webservices" where i need extra and complex funtionality that is handled on a server? (Another example would be a Service that changes the Format of a MP3 or something like that)
I am sorry if this question may sound stupid to some of you.
Last Visit: 31-Dec-99 19:00 Last Update: 10-Dec-23 6:35