Skip navigation

Getting the required data

Getting the required data: Code Clinic: PHP
Getting the required data: Code Clinic: PHP

Join for an in-depth discussion in this video Getting the required data, part of Code Clinic: PHP.

Resume Transcript Auto-Scroll
Skill Level Intermediate
4h 44m
Duration
115,272
Views
Show More Show Less

Q: I'm encountering script errors message with the prime_dates.php file used in the "Priming the date_record column" movie in this course. How can I resolve these errors?

A: To avoid script errors, use bindValue() instead of bindParam() in Line 9 of the prime_dates.php file. You can also download the latest copy of the exercise files, which corrects this issue for you. For a more in-depth explanation of the difference between bindValue() and bindParam(), check out the "Binding input and output values" video (<a href="http://www.lynda.com/PHP-tutorials/Binding-input-output-values/169106/181062-4.html" style="color:purple;text-decoration:underline" target="_blank">http://www.lynda.com/PHP-<wbr>tutorials/Binding-input-<wbr>output-values/169106/181062-4.<wbr>html</a>) in <em>Accessing Databases with Object-Oriented PHP</em>.

Q: Why can't I access the Lake Pend Orielle site (http://lpo.dt.navy.mil)?

<!-- /* Font Definitions */ @font-face {font-family:"MS ??"; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1107305727 0 0 415 0;} @font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1610611985 1073741899 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"MS ??"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"MS ??"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> <p class="MsoNormal">A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.</p>

Q: I am unable to access the Lake Pend Oreille data from outside the U.S.

A: A static copy of this data is provided <a href="https://github.com/lyndadotcom/LPO_weatherdata">here</a> for lynda.com members outside of the U.S

Skills covered in this course
Developer Programming Languages PHP

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now