Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
data-networks-web
lab-exercises
Commits
e52b1338
Commit
e52b1338
authored
Dec 08, 2016
by
Sorrel Harriet
Browse files
removing unnecessary variables
parent
7df60414
Changes
1
Hide whitespace changes
Inline
Side-by-side
lab-8/music-store-app/views/add-track.php
View file @
e52b1338
...
...
@@ -60,10 +60,6 @@ $content .= $form_html;
// ------- START form processing code... -------
// define variables and set to empty values
$title
=
$artist_id
=
$price
=
$year
=
$genre
=
""
;
// check if there was a POST request
if
(
$_SERVER
[
"REQUEST_METHOD"
]
==
"POST"
)
{
// validate the form data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment