Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About dorich

  • Rank
  1. Larry: Thanks that was what I needed. One thing I noted in debugging is that if I go to the edit entry page, don't make any edits but still click on the submit button I get the same error as reported above: Since I didn't make any fundamental changes to the script I have to assume that this is the expected behavior. However, I assume that in a production situation this is something to be avoided? Assuming that this is not a problem I created can you point me to any resources that describe how to overcome this behavior. Thanks
  2. Reference: Chapter 12 "Updating Data In A Database" Problem: Using the script from the book my version is failing when it comes to submitting the edits. Description: I took the script from the book and made small modifications for my own application - the changes were purely things like database name, field names etc. When the script I typed out failed I took the original downloaded script and merely modified it to suit my application but it still failed. Symptoms: The error message is Note that there is no mysql error in the feedback. Question: What is the bes
  3. First let me say that I find your style of presentation and writing to be very effective. With regard to the issue of making sure that cookies are sent before any header information I understand that the php code to send the cookies has to come before the header information. However, in your example for sending a cookie the first step is to see if the form has been submitted. As I understand the logic if the form has been submitted then the cookie is sent (using setcookie () ). However, if the page has not loaded then the form cannot be set. This suggests that the cookie is sent after
  4. My beginners mind is just puzzled by the building of the variable 'birthdate' in the examples on page 126. "birthdate" is created from the concatenation of three pieces of data. However, there appears to be no explicit statement doing the concatenation. Instead "birthdate" is equated to a different variable in each of the three conditional statements. Given that a variable can be changed on the fly I expected that the value of "birthdate" would change each time it was restated. Obviously I'm missing something or there is something implicit in the conditionals that does the conc
  • Create New...