Posts

How to create a blog in PHP and MySQL database - DB design

Image
The Database This is the second part in a series on How To Create A Blog with PHP and MySQL. You can get the first part  here We will continue where we left off in the last tutorial. In this section we will be working on our database design and user authentication (registration and login). Create a database named  complete-blog-php . In this database, create 2 tables:  posts  and  users  with the following fields. You can create these tables using these commands. users : CREATE TABLE `users` ( `id` int(11) AUTO_INCREMENT PRIMARY KEY NOT NULL, `username` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `role` enum('Author','Admin') DEFAULT NULL, `password` varchar(255) NOT NULL, `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; posts : CREATE TABLE `posts` ( `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `title` varchar(255) NOT N

10 Best Free Templates for React Js in 2020

Image
Why would you need a React Template? React Templates are built using  ReactJS . React Templates helps companies just like yours to increase performance through efficiency that is why ReactJS is used by companies like Salesforce, Uber, CNN, Netflix, Whatsapp, and many others. 10 Best Free Templates for React Js in 2020 Building a great user interface (UI) for a site or theme can be challenging. A lot of things need to be considered to make a good-looking website template. Some best free templates for React Js come into play in 2020. Castro – React Construction Template Castro is a React-based construction template. It comes with a lot of features. Some of its features include 1000+ icon fonts, W3C validated code, speed optimized, Google Fonts, Font awesome, Free updates, Cross browser compatible, offline documentation, SEO friendly code, 100% responsive. Torres – React App Landing Page Template Torres is a multipurpose React landing page template. Torres comes with a lot of features. So

How to Track Social Media Traffic Using Google Analytics in 2020?

Image
Do you know if your social media efforts are working? Wondering how to track link clicks from social traffic? In this article, you’ll discover how to use UTM tags to measure your social media traffic with Google Analytics. How to Track Social Media Traffic Using Google Analytics by Chris Mercer on Social Media Examiner. Why Measure Your Social Media Traffic? Measuring your social media traffic will help you determine which marketing tactics are working for you and which are coming up short. The traffic that comes from Facebook, Twitter, LinkedIn, YouTube, or other social media sources funnels into the content on your site and then triggers some sort of completion such as a lead, a purchase, or whatever you’re trying to accomplish with that traffic. Your social media traffic will come from both paid and unpaid sources. To illustrate, Facebook traffic can come from paid ads, shared posts from your page, and maybe even posts from a group. The same can be true with Twitter, LinkedIn, and Y