Jump to content

iwato

Members
  • Content Count

    1,468
  • Joined

  • Last visited

  • Days Won

    4

iwato last won the day on May 13

iwato had the most liked content!

Community Reputation

18 Good

2 Followers

About iwato

  • Rank
    Dedicated Member

Previous Fields

  • Languages
    HTML, CSS, Javascript, PHP, MySQL and Spoken Language

Contact Methods

  • AIM
    moogoonghwa
  • Website URL
    http://www.grammarcaptive.com
  • Yahoo
    iddor
  • Skype
    kiusau

Profile Information

  • Gender
    Male
  • Location
    Seattle, Washington USA 98104

Recent Profile Visitors

20,637 profile views
  1. Please ignore the above request. I have resolved the problem. There was an incompatibility between what was being sent and what was supposed to be received. Thank goodness for prepared statements. They make everything so easier once you understand how to interpre the hieroglyphs of error encoding. Roddy
  2. BACKGROUND: This is follow-up to my newly created webpage at ali.publiustwo.com. For a long time I was able to successfully transmit and store the data of the first of two forms. Unable to understand why the data of the second form was not appearing in my data base I discovered that two of the variables were missing in the PHP processing file. After these were added, the transmission failed completely. The following error message was discovered Connection close Content-Typetext/html; charset=UTF-8 Date Tue,10 Dec 2019 18:58:01 GMT ServerApache Transfer-Encoding chunked Accept */* Accept-Encoding gzip, deflate, br Accept-Language en-US,en;q=0.5 Connection keep-alive Content-Length 2085 Content-Type multipart/form-data; boundary=---------------------------18838717971881884458692932590 Host ali.publiustwo.com Referer https://ali.publiustwo.com/ User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:48.0) Gecko/20100101 Firefox/48.0 X-Requested-With XMLHttpRequest ADDENDUM: The HTTP Request is reporting the following: HTTP/1.1 500 Internal Server Error 318ms] REQUEST: Could you explain what might be going and propose a solution. Roddy
  3. Never mind. I have resolved the problem. Input form controls of the checkbox type are very unusual creatures. I have learned during the last couple of days. In any case, the checkbox fields do appear when they are checked. You have made me one very happy trooper. Roddy
  4. All of my input form controls have names, and there are four fieldsets in the topic_info form element. Only the name-value pairs of the last fieldset appear. There are six altogether. title1, topic1, title2, topic2, title3, and topic3. Roddy
  5. I don't get it either, but you are absolutely correct. Adding the two additional parameters to the $.ajax() function allowed the data to be transmitted. Still, however, only the last fieldset of the #topic_info form element was processed. You may see what is occurring your self. Do you have any idea why. Roddy
  6. Are you suggesting that the $.ajax() function should be included in the for-statement? Roddy
  7. There is another problem as well. The poData array only captures the name-value pairs in the last fieldset of the #topic_info form. While you are thinking, I will experiment with what dsonesuk has proposed. Roddy
  8. for (var i = 0; i < poData.length; i++) { formData.append(poData[i].name, poData[i].value); } No, I fixed this problem as above. Roddy
  9. Yes, Funce. The formData variable captures the first instance of the jQuery object used to create the object. I did not drop the [0] expression at the end of the object. I will wait until I can form a proper data object before implementing the additionally suggested $.ajax() parameters. Roddy
  10. Hi, Funce. I have decided to experiment with your suggestion first as it is closer to language that I can easily understand. This said, the FormData object is new to me and I do not know how to readily correct the error associated with the following code block: for (var i = 0; i < poData.length; i++) { formData.append(poData[i].name, poData[i].value); } The associated error is the following; Please advise further.. Roddy
  11. Wow! Thank you to you both. I might get this accomplished after all. Give me some time to see what works! Roddy
  12. Should I assume that the absence of a response is due to an absence of advice? Does everything really appear OK? You view the webpage here. Please respond. Roddy
  13. BACKGROUND: On one webpage I have two forms and one button for both forms. Each form has its own action pointing to a different PHP processing file. I can get each form to work properly by itself, but I cannot seem to get the perform together. $('.SignUpButton').on('click', function() { $('#student_info').submit(); $('#topic_info').submit(); }); <form id='student_info' method='post' enctype='application/x-www-form-urlencoded' action='./_utilities/php/student_info.php'> ... </form> <form id='topic_info' method='post' enctype='application/x-www-form-urlencoded' action='./_utilities/php/topic_info.php'> ... </form> <input id='passcode_entry' form='student_info' type='text' name='passcode' placeholder='4-Digit Code' /> <button class='SignUpButton'>Sign Up!</button> QUESTION: If you could help me to get the above code to work properly, I would be very grateful. Ideally, I would like to get both forms pointing to the same PHP processing file, but do not know how to combine the data, and I have not a lot of time for a major renovation of my code, as I would very much like to have this up and running by tomorrow morning. By the way, I tried using the form attribute with the <fieldset> element, but for some reason it failed to work properly. Please advise. Roddy
  14. Hi! Thank you for your quick response. As it is my goal to have this page ready and working by Monday, I have selected Ingolme's response as the easiest to implement fix. input, textarea, select { font-size: 16px; } In the end, I have not yet grown accustomed to the use of the vw unit, and still have to build a data base and create the PHP to handle the task of data transport and storage before my self-imposed deadline. Many thanks to both Ingolme and dsonesuk. I am happey to see that you are both still around at W3Schools. Roddy
×
×
  • Create New...