Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6efc4430
Commit
6efc4430
authored
Oct 27, 2000
by
Leigh B. Stoller
Browse files
Fix database query to * to get all fields.
parent
0578c1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/modusr_form.php3
View file @
6efc4430
...
...
@@ -50,8 +50,7 @@ if (($row = mysql_fetch_row($query_result)) == 0) {
# Suck the current info out of the database and break it apart.
#
$info_result
=
mysql_db_query
(
$TBDBNAME
,
"select usr_expires,usr_email,usr_addr,usr_name,usr_phone,usr_pswd "
.
"from users where uid='
$uid
'"
);
"select * from users where uid='
$uid
'"
);
if
(
!
$info_result
)
{
$err
=
mysql_error
();
TBERROR
(
"Database Error getting user info for user
$uid
:
$err
\n
"
,
1
);
...
...
Write
Preview
Supports
Markdown
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