Jump to content

Can someone explain this code to me?

Go to solution Solved by RockSolid1106,
17 minutes ago, Emil_Loenneberg SE said:

Can you explain to me the effect of this code?

image.thumb.png.bf95d080b59c2db8703a416d4de624a9.png

This seems to be a MySQL Database command.

"User" seems to be the table name.

The code is basically looking for the rows where the "userid" column matches the value of the variable "id". On the rows that match, it then updates the values of the column "navn" and "adresse" with the respective variables. After that, it redirects to index.php

Hope this helps.

You don't need to make another thread, you could have posted in the original thread. You can also offer more information, like what navn and addresse mean.

 

I assume that it's Danish. It tells the MySQL database to update the user's name and address. It then redirects to index.php.

Link to comment
Share on other sites

Link to post
Share on other sites

17 minutes ago, Emil_Loenneberg SE said:

Can you explain to me the effect of this code?

image.thumb.png.bf95d080b59c2db8703a416d4de624a9.png

This seems to be a MySQL Database command.

"User" seems to be the table name.

The code is basically looking for the rows where the "userid" column matches the value of the variable "id". On the rows that match, it then updates the values of the column "navn" and "adresse" with the respective variables. After that, it redirects to index.php

Hope this helps.

On 4/5/2024 at 10:13 PM, LAwLz said:

I am getting pretty fucking sick and tired of the "watch something else" responses. It's such a cop out answer because you could say that about basically anything, and it doesn't address the actual complaints. People use it as some kind of card they pull when they can't actually respond to the criticism raised but they still feel like they need to defend some company/person. If you don't like this thread then stop reading it. See how stupid it is? It's basically like telling someone "shut the fuck up". It's not a clever responsive, it doesn't address anything said, and it is rude. 

 ^

 

bruh switch to dark mode its at the bottom of this page

VPN Server Guide

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/15/2021 at 4:49 PM, LTTfan2006 said:

This seems to be a MySQL Database command.

"User" seems to be the table name.

The code is basically looking for the rows where the "userid" column matches the value of the variable "id". On the rows that match, it then updates the values of the column "navn" and "adresse" with the respective variables. After that, it redirects to index.php

Hope this helps.

Thanks, and yes it did.

Link to comment
Share on other sites

Link to post
Share on other sites

20 minutes ago, Emil_Loenneberg SE said:

Thanks, and yes it did.

Glad to hear I could help you 🙂

Perhaps consider marking the answer as solution? That'll help other people who have a similar question and stumble across this thread.

On 4/5/2024 at 10:13 PM, LAwLz said:

I am getting pretty fucking sick and tired of the "watch something else" responses. It's such a cop out answer because you could say that about basically anything, and it doesn't address the actual complaints. People use it as some kind of card they pull when they can't actually respond to the criticism raised but they still feel like they need to defend some company/person. If you don't like this thread then stop reading it. See how stupid it is? It's basically like telling someone "shut the fuck up". It's not a clever responsive, it doesn't address anything said, and it is rude. 

 ^

 

bruh switch to dark mode its at the bottom of this page

VPN Server Guide

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, LTTfan2006 said:

Glad to hear I could help you 🙂

Perhaps consider marking the answer as solution? That'll help other people who have a similar question and stumble across this thread.

Of course!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×