Get up to 80 % extra points for free! More info:

Discussion: Lesson 12 - Object-oriented hit counter in PHP and PDO

Back

 

Comments
Avatar
Agostino I
Member
Avatar
Agostino I:6/3/2019 6:26

Today is the day of typing error :)

CREATE TABLE IF NOT EXISTS pageview (
pageview_id int(11) NOT NULL AUTO_INCREMENT,
ip varchar(40) COLLATE utf8_general_ci NOT NULL,
created datetime NOT NULL,
PRIMARY KEY (pageviews_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_ge­neral_ci AUTO_INCREMENT=1 ;

PRIMARY KEY (pageviews_id). It should be without the s.

Thanks for this site that is a very useful tool to learn computer programming ;)

Reply
6/3/2019 6:26
while(1){ workHard();} but sometimes....take a rest! :)
Avatar
Replies to Agostino I
David Capka Hartinger:6/3/2019 11:34

Thanks Agostino, I've fixed that and added 20 points to your account for a helpful comment :)

Reply
6/3/2019 11:34
You can walk through a storm and feel the wind but you know you are not the wind.
Avatar
Agostino I
Member
Avatar
Agostino I:6/3/2019 12:01

Thanks ;)

Reply
6/3/2019 12:01
while(1){ workHard();} but sometimes....take a rest! :)
Avatar
namazbek
Member
Avatar
namazbek:7/29/2019 13:10

today I have been looking for a good post understand mvc and then found this site. And goddamn this is site is so dope. I found articles to be very well written. Nice and dice. While reading about mvc I decided to read about oop. I have learnt tons of stuff. PDO explanation is so nice. It was pleasure to read such a nice tutorial.
every line is explained. I also enjoyed some subtle details.
This site deservers more recognition.
Before that I tried to understand mvc from udemy courses. They su## so badly. I am very new to programming but I always try hard to understand the authors. But udemy authors just failed to explain the mvc. So far great job!

 
Reply
7/29/2019 13:10
Avatar
Replies to namazbek
David Capka Hartinger:7/30/2019 11:55

Hi namazbek,
thank you for the kind words. We like to create simple projects and explain core logic on them.

This site deservers more recognition.

We're working on that! Unfortunately, sites like udemy make it extremely difficult since they're blocking small websites like us from entering Google Ads, making the promotion price very high. If you have a person website, we'd be very glad if you linked to us :)

Reply
7/30/2019 11:55
You can walk through a storm and feel the wind but you know you are not the wind.
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

5 messages from 5 displayed.