Designing solutions through programming - March 2 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) No edit summary |
Mr. MacKenty (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
# Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU | # Watch this video and ensure your PHPStorm connection settings are correct. Pay attention to detail. https://youtu.be/mm1pnvjgxgU | ||
# | # Hello wonderful students. Today you will have two things to do. One easy (but annoying) and one kind of difficult. | ||
# | |||
# Easy but annoying: | |||
## you should have a project in PHP storm named login. | |||
## the files in this project should look EXACTLY like the files here: https://github.com/bmackenty/login | |||
## you can copy and paste them into your project | |||
## Please pay careful attention to database_connect.php !! | |||
## Please also make sure the tables we reference are the correct names | |||
## ALWAYS TEST to make sure anything you change works. | |||
# a little difficult: | |||
## note the file user_edit.php. | |||
## this file is where we can change a users email address. | |||
## however, we call a file named "update_user.php" but it doesn't exist. | |||
## you will need to create this file and use the following SQL syntax to update a record: | |||
<syntaxhighlight lang="sql"> | |||
UPDATE users SET email = new_value_here WHERE id LIKE $user_id | |||
</syntaxhighlight> | |||
This is hard. Good luck. | |||
</td> | </td> | ||
Latest revision as of 07:13, 1 March 2017
What are we going to learn today?[edit]
UPDATE users SET email = new_value_here WHERE id LIKE $user_id
This is hard. Good luck. |
What is our homework?[edit] |
|
How am I being assessed today?[edit]
|
||
Standards we are covering today[edit]
|
As a computer scientist, you have:[edit]
|
|
Credits[edit] |