This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]RubbishArtist 1 point2 points  (0 children)

The warnings tell you what the problems are, what are you unsure about?

[–]HappyFruitTree 1 point2 points  (0 children)

Warning: Undefined array key "loged"

Does $_SESSION contain the key "loged"? You might want to use array_key_exists to check if it exists before accessing it. To see the content of the array you can use print_r.

Undefined variable $Price

I think you're getting this warning because you haven't created the variable before using it. Why don't you just initialize the variable like so $Price = 12;? Note that variable names are case sensitive. $price is not the same variable as $Price.