Skip to main content
2 votes
Accepted

Can't pass input value from HTML to python (Final project)

It's not so much you "can't" pass it as you "don't" pass it. There is no input element whose name attribute is "name". After edit: from the screenshot, you should notice it's using a "get" method ...
DinoCoderSaurus's user avatar
1 vote
Accepted

Trying to do pset 2, but it doesn't even accept my input. What am I doing wrong?

The problem lies here: for(int i = 0; i < keyL - 1; i++) { for(int j = i; j < keyL; j++) { if(key[i] == key[j]) return 0; } } When the loop runs the first time, ...
Cliff B's user avatar
  • 69k
1 vote
Accepted

Taking scale factor input in Resize--pset3

Interesting issue. So, what's actually stored in n? int n = (int) &argv[1]; That & that appears before argv[1], means to use the address of argv[1], so it's inserting the address, not the ...
Cliff B's user avatar
  • 69k
1 vote
Accepted

check50 is being silly

While the output from your program may be encoding the plaintext, the problem lies elsewhere. The program spec says to prompt for input. The code above merely waits for input, without a prompt. ...
Cliff B's user avatar
  • 69k
1 vote
Accepted

Drop down list using database values in PHP - Doesn't work - Final project

This is sketchy: foreach($result as $result): ?> because the var names are the same (and I'm not sure about : in php). Wouldn't the proper syntax here <option value="$result["name"]"> be <...
DinoCoderSaurus's user avatar
1 vote

Help with fseek and fgets

Fseek works by moving the file pointer, indicated by the FILE pointer in our case, forward or backward. So whenever you use functions that work with file streams, you should keep in mind where the ...
Natnael Wubishet's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible