=====
CS 328 - Week 10 Labs - 2026-04-02
=====
=====
TODAY WE WILL
=====
* announcements/prep for next class
* review clicker questions
* Week 10 Lab Exercise
=====
* IF have not completed it, should be working on Homework 8
* at-least-1st-attempts due by 11:59 pm on Friday, April 3
* WATCH for class e-mail when Homework 9 is available
* (with at-least-first-attempts due by 11:59 pm
on Friday, April 10)
* Read and work through the activities in zyBooks Chapter 5
- PHP Fundamentals
* IT IS advising time for SUMMER 2026/FALL 2026!
* preregistration for FALL 2026 begins at your
registration appointment in your student center
(sometime between April 13 - April 24)
=====
SIDE NOTE: if you are considering taking Humboldt courses in SUMMER 2026
=====
* registration for SUMMER 2026 opens for ***EVERYONE*** on APRIL 13!!!!
* from:
https://www.humboldt.edu/student-financial-services/summer-term-2026
"For the 2026 Summer term, the university is guaranteeing 3 units,
if enrolled in 6 or more units, will be covered for all continuing
matriculated undergraduate students. This will cover 3 units of
the tuition charge and does not include coverage of mandatory
campus-based fees or the additional non-resident tuition if
applicable."
* see the above link for more information!
=====
IMPORTANT note about oci_result
=====
* (also adding this to Week 10 Lecture 2 notes)
* IF you use the version of oci_result where you
give a string containing the desired projected
column's name as the 2nd argument,
THAT STRING MUST BE ALL-UPPERCASE, even if NOT written
that way in the query string!!!!
* try it: in a copy of 328lect10-2.php,
CHANGE:
<?= oci_result($empl_stmt, "EMPL_LAST_NAME") ?>,
to:
<?= oci_result($empl_stmt, "empl_last_name") ?>,
...and SEE the errors that result!
* related: if your SELECT statement projects a
column alias, you need to use THAT column alias
in the oci_result's 2nd argument string if using
that version of oci_result
* unquoted column alias? you DO need to write
its name in all-uppercase in that string
* quoted column alias? you need to write its
name matching its case in the query!
* (when I tried this, I used SINGLE
quotes for the query string so I could
have DOUBLE quotes within it for
that particular style of column alias!)