php develoer training course (OO)
2016-08-23 admin

PHP Beginner Training Course 

Prerequisites

You should be at the level of Introduction to Programming or Excel VBA before starting this course. HTML knowledge will be handy, but not required as we focus on the back-end in this course. Intended Audience

This PHP Beginner training course is for web designers probably with HTML or XHTML who want to take their web pages to the next level.

After this course you should be able to

  • Use PHP to transform static HTML pages into dynamic web sites
  • Use email from your web server
  • Creating feedback forms
  • Create and populate your own MySQL database tables, and work with data stored in files
  • Perform sophisticated MySQL queries with joins, and refining your results
  • Uploading images
  • Protect your data from SQL injection attacks
  • Secure your pages with HTTP Authentication
  • Build a basic functional PHP website with management and user functionality that could be useful to a small business with basic requirements

Further Training

The next course in the series is Advanced PHP .

Course Material

Included.

Course Contents

Day 1
  • Add life to your static pages
  • PHP brings web pages to life
  • Forms are made of HTML
  • HTML acts on the CLIENT
  • PHP acts on the SERVER
  • Use PHP to access the form data
  • The server turns PHP into HTML
  • A few PHP rules to code by
  • Variables are for storing script data
  • $-POST transports form data to your script
  • Creating the email message body with PHP
  • Newlines need doublequoted strings
  • Variables store the email pieces and parts
  • Sending an email message with PHP
  • Connecting to MySQL
  • MySQL excels at storing data
  • Create a MySQL database and table
  • The INSERT statement in action
  • Use SELECT to get table data
  • Connect to your database from PHP
  • Insert data with a PHP script
  • Use PHP functions to talk to the database
  • Get connected with mysqli_connect()
  • Build the INSERT query in PHP
  • Query the MySQL database with PHP
  • Close your connection with mysqli-close()
  • $-POST provides the form data
  • Create and populate a database
  • It all starts with a table
  • Make contact with the MySQL server
  • Create a database for emails
  • Create a table inside the database
  • We need to define our data
  • MySQL data types
  • Create your table with a query
  • USE the database before you use it
  • DESCRIBE reveals the structure of tables
  • Create the Add Email script
  • The Send Email script
  • mysqli_fetch_array() fetches query results
  • Looping through data with while
  • Removing data with DELETE
  • Use WHERE to DELETE specific data
  • Minimize the risk of accidental deletions
Day 2
  • Realistic and practical application
  • Demand good form data
  • The logic behind Send Email validation
  • Your code can make decisions with IF
  • Testing for truth
  • IF checks for more than just equality
  • The logic behind Send Email validation
  • PHP functions for verifying variables
  • Test multiple conditions with AND and OR
  • Form users need feedback
  • Ease in and out of PHP as needed
  • Use a flag to avoid duplicate duplicate code
  • Code the HTML form only once
  • A form that references itself
  • Point the form action at the script
  • Check to see if the form has been submitted
  • Table rows should be uniquely identifiable
  • Primary keys enforce uniqueness
  • From checkboxes to customer IDs
  • Loop through an array with foreach
Day 3
  • Working with data stored in files
  • The application needs to store images
  • Planning for image file uploads
  • ALTER statement
  • Image uploads
  • Insert the image filename into the database
  • Find out the name of the uploaded file
  • Where did the uploaded file go?
  • Create a home for uploaded image files
  • Shared data has to be shared
  • Shared script data is required
  • Think of require_once as “insert”
  • Order Timing is everything with high scores
  • Format the top score with HTML and CSS
  • Only small images allowed
  • File validation makes the app more robust
  • Plan for an Admin page
  • Generate score removal links on the Admin page
  • Scripts can communicate with each other
  • Of GETs and POSTs
  • GET, POST, and high score removal
  • Isolate the high score for deletion
  • Control how much you delete with LIMIT
Day 4 
  • Securing your application
  • Protecting the Admin page
  • HTTP authentication requires headers
  • Header Exposed
  • Take control of headers with PHP
  • Authenticating with headers
  • Create an Authorize script
  • Subtraction by addition
  • Security requires humans
  • Plan for moderation
  • Make room for approvals with ALTER
  • Unapproved scores aren’t worthy
  • The million-point hack
  • Tricking MySQL with comments
  • The Add Score form was SQL injected
  • Protect your data from SQL injections
  • A safer INSERT (with parameters)
  • Form validation can never be too smart
Day 5
  • Using Variables in PHP
  • Understanding Data Types
  • Operators and Expressions
  • if, else Statement
  • Testing One Expression Many Times with the switch Statement
  • Compact Coding with the Ternary Operator
  • Doing Repetitive Tasks with Looping
  • Creating and Accessing Strings
  • Searching Strings
  • Replacing Text within Strings
  • Dealing with Upper- and Lowercase
  • Formatting Strings
  • The Anatomy of an Array
  • Creating Arrays
  • Accessing Array Elements
  • Looping Through Arrays with foreach
  • Working with Multidimensional Arrays
  • Manipulating Arrays

Practical project for competency certificate :

Create a website with 2 tables: Product table (id, date, description, price, picture) Members table (id, name, surname, email-address, description) and pages for:

Customers: to join the site to view the product list (will be expanded in the Advanced Course to add a shopping cart)

Pages and tables should be designed to be secure from SQL injections by hackers

Management: display the product list and add / remove and change products moderate new customer applications, delete customers the management pages must be protected with http authentication send an email newsletter to members Ensure that you use self-referencing forms that remember fields

Duration and pricing

  • Full-time over 5 days (R9995)
  • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R11995)
  • Part-time over 8 Saturdays, 3 hour sessions (R11995)
  • Please note : For part-time courses we do not have a fixed schedule and you will be placed on a waiting list until we get a group of 4+ together. Please book with no dates on the bookings form. This will automatically put you on the waiting list. We will confirm with you as soon as we have a part-time group together.
  • Distance-learning over up to 3 months (R9995)
  • International exams are not included in the course price.
  • Prices exclude Vat for Vat-registered companies

Monthly payment options for Distance Learning / Self Study
If you want to pay the course on a monthly basis, we divide the course in 3 sections – one per month. You then have to complete a quarter of the course per month. The payments are as follows:

  • R3333 registration fee and covering the first month and section 1
  • R3333 – month 2 and section 2
  • R3333 – month 3  the last section
    • Certificate

      1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
      2. You may sit for our competency assessment test and on passing you will obtain our competency certificate.
      3. Our competency assessment can be booked and taken by someone who has not attended the course at a cost of R950.

      Bookings

      You can download the course registration form on our home page or by clicking here

      Brochure

      You may download a pdf copy of this page by clicking on the pdf icon at the top of the page.

      Questions

      Please email us

      Schedule

      On the calendar below. If your browser doesn’t display the calendar below, please click on this link or try using Google Chrome, alternatively please enquire via our Contact Us page.

    php beginner training course
    2016-04-14 admin

    Prerequisites

    You should be at the level of Introduction to Programming or Excel VBA before starting this course. HTML knowledge will be handy, but not required as we focus on the back-end in this course. Intended Audience

    This PHP Beginner training course is for web designers probably with HTML or XHTML who want to take their web pages to the next level.

    After this course you should be able to

      • Use PHP to transform static HTML pages into dynamic web sites
      • Use email from your web server
      • Creating feedback forms
      • Create and populate your own MySQL database tables, and work with data stored in files
      • Perform sophisticated MySQL queries with joins, and refining your results
      • Uploading images
      • Protect your data from SQL injection attacks
      • Secure your pages with HTTP Authentication
      • Build a basic functional PHP website with management and user functionality that could be useful to a small business with basic requirements

    Further Training

    The next course in the series is Advanced PHP .

    Course Material

    Included.

    Course Contents

    Day 1
    • Add life to your static pages
    • PHP brings web pages to life
    • Forms are made of HTML
    • HTML acts on the CLIENT
    • PHP acts on the SERVER
    • Use PHP to access the form data
    • The server turns PHP into HTML
    • A few PHP rules to code by
    • Variables are for storing script data
    • $-POST transports form data to your script
    • Creating the email message body with PHP
    • Newlines need doublequoted strings
    • Variables store the email pieces and parts
    • Sending an email message with PHP
    • Connecting to MySQL
    • MySQL excels at storing data
    • Create a MySQL database and table
    • The INSERT statement in action
    • Use SELECT to get table data
    • Connect to your database from PHP
    • Insert data with a PHP script
    • Use PHP functions to talk to the database
    • Get connected with mysqli_connect()
    • Build the INSERT query in PHP
    • Query the MySQL database with PHP
    • Close your connection with mysqli-close()
    • $-POST provides the form data
    • Create and populate a database
    • It all starts with a table
    • Make contact with the MySQL server
    • Create a database for emails
    • Create a table inside the database
    • We need to define our data
    • MySQL data types
    • Create your table with a query
    • USE the database before you use it
    • DESCRIBE reveals the structure of tables
    • Create the Add Email script
    • The Send Email script
    • mysqli_fetch_array() fetches query results
    • Looping through data with while
    • Removing data with DELETE
    • Use WHERE to DELETE specific data
    • Minimize the risk of accidental deletions
    Day 2
    • Realistic and practical application
    • Demand good form data
    • The logic behind Send Email validation
    • Your code can make decisions with IF
    • Testing for truth
    • IF checks for more than just equality
    • The logic behind Send Email validation
    • PHP functions for verifying variables
    • Test multiple conditions with AND and OR
    • Form users need feedback
    • Ease in and out of PHP as needed
    • Use a flag to avoid duplicate duplicate code
    • Code the HTML form only once
    • A form that references itself
    • Point the form action at the script
    • Check to see if the form has been submitted
    • Table rows should be uniquely identifiable
    • Primary keys enforce uniqueness
    • From checkboxes to customer IDs
    • Loop through an array with foreach
    Day 3
    • Working with data stored in files
    • The application needs to store images
    • Planning for image file uploads
    • The high score database must be ALTERed
    • How do we get an image from the user?
    • Insert the image filename into the database
    • Find out the name of the uploaded file
    • Where did the uploaded file go?
    • Create a home for uploaded image files
    • Shared data has to be shared
    • Shared script data is required
    • Think of require_once as “insert”
    • Order Timing is everything with high scores
    • Format the top score with HTML and CSS
    • Only small images allowed
    • File validation makes the app more robust
    • Plan for an Admin page
    • Generate score removal links on the Admin page
    • Scripts can communicate with each other
    • Of GETs and POSTs
    • GET, POST, and high score removal
    • Isolate the high score for deletion
    • Control how much you delete with LIMIT
    Day 4 
    • Securing your application
    • Protecting the Admin page
    • HTTP authentication requires headers
    • Header Exposed
    • Take control of headers with PHP
    • Authenticating with headers
    • Create an Authorize script
    • Subtraction by addition
    • Security requires humans
    • Plan for moderation
    • Make room for approvals with ALTER
    • Unapproved scores aren’t worthy
    • The million-point hack
    • Tricking MySQL with comments
    • The Add Score form was SQL injected
    • Protect your data from SQL injections
    • A safer INSERT (with parameters)
    • Form validation can never be too smart
    Day 5
    • Using Variables in PHP
    • Understanding Data Types
    • Operators and Expressions
    • if, else Statement
    • Testing One Expression Many Times with the switch Statement
    • Compact Coding with the Ternary Operator
    • Doing Repetitive Tasks with Looping
    • Creating and Accessing Strings
    • Searching Strings
    • Replacing Text within Strings
    • Dealing with Upper- and Lowercase
    • Formatting Strings
    • The Anatomy of an Array
    • Creating Arrays
    • Accessing Array Elements
    • Looping Through Arrays with foreach
    • Working with Multidimensional Arrays
    • Manipulating Arrays

    Practical project for competency certificate :

    Create a website with 2 tables: Product table (id, date, description, price, picture) Members table (id, name, surname, email-address, description) and pages for:

    Customers: to join the site to view the product list (will be expanded in the Advanced Course to add a shopping cart)

    Pages and tables should be designed to be secure from SQL injections by hackers

    Management: display the product list and add / remove and change products moderate new customer applications, delete customers the management pages must be protected with http authentication send an email newsletter to members Ensure that you use self-referencing forms that remember fields

    • Duration and pricing
      • Full-time over 5 days (R9995)
      • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R11995)
      • Part-time over 8 Saturdays, 3 hour sessions (R11995)
      • Please note : For part-time courses we do not have a fixed schedule and you will be placed on a waiting list until we get a group of 4+ together. Please book with no dates on the bookings form. This will automatically put you on the waiting list. We will confirm with you as soon as we have a part-time group together.
      • Distance-learning over up to 3 months (R9995)
      • International exams are not included in the course price.
      • Prices exclude Vat for Vat-registered companies

      Certificate

      1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
      2. You may sit for our competency assessment test and on passing you will obtain our competency certificate.
      3. Our competency assessment can be booked and taken by someone who has not attended the course at a cost of R950.

      Bookings

      You can download the course registration form on our home page or by clicking here

      Brochure

      You may download a pdf copy of this page by clicking on the pdf icon at the top of the page.

      Questions

      Please email us

      Schedule

      On the calendar below. If your browser doesn’t display the calendar below, please click on this link or try using Google Chrome, alternatively please enquire via our Contact Us page.

    2015-06-01 Alta

    Prerequisites

    You should have all the knowledge of PHP at our PHP Advanced Programmer level to be able to succeed with PHP Developer

    Intended Audience

    Programmers who have mastered PHP up to our advanced level, and who are now ready to take on
    more sustainable projects used in more corporate environments.

    Further Training

    If you have not yet got a good SQL grounding, you should seriously consider our SQL Beginner course.

    PHP Zend Certification

    We align with the international Zend Certification syllabus and if you have completed our PHP Job Prep Certificate,
    you would have covered everything in this exam. We also support our PHP students who wants to write this exam
    with any questions and we refer to exam papers during the course.

    Course Contents

     Day 1

    Application Planning and Design

    • What is Web 2.0?
    • Database connectivity
    • Web Site Templates
    • Web Site Features
    • Other Aspects of Development
    • Version control and unit testing

    Setting up the Application Framework

    • Web Server Setup
    • Application Filesystem Structure
    • Installing the Zend Framework
    • Configuring the Web Server
    • Setting Up the Database
    • Using the Model-View-Controller Pattern
    • Defining Application Settings
    • Connecting to the Database
    • The Smarty Template Engine
    • Adding Logging Capabilities

    User Authentication, Authorization and Management

    • Creating the User Database Table
    • Introduction to Zend Auth
    • Introduction to Zend Acl
    • Combining Zend_Auth Zend_Acl and Zend_Controller_Front
    • Managing User Records with DatabaseObject
    • Managing User Profiles

    Day 2
    User Registration, Login and Logout

    • Creating the User Database Table
    • Introduction to Zend Auth
    • Introduction to Zend Acl
    • Combining Zend_Auth Zend_Acl and Zend_Controller_Front
    • Managing User Records with DatabaseObject
    • Managing User Profiles

    Introduction to Prototype and Scriptaculous

    • Downloading and Installing Prototype
    • Selecting Objects in the Document Object Model
    • Prototype’s Hash Object
    • Other Element Extensions
    • Ajax Operations in Prototype
    • Event Handling in Prototype
    • Creating JavaScript Classes in Prototype
    • From Prototype to Scriptaculous
    • Downloading and installing Scriptaculous
    • Combining Prototype, Scriptaculous, Ajax and PHP in a Useful Example

    Styling the Web Application

    • Adding Page Titles and Breadcrumbs
    • Integrating the Design into the Application
    • Constructing the CSS
    • Styling the Application Web Forms
    • Loading Prototype and Scriptaculous
    • Implementing Client-Side Form Validation

    Day 3
    Building the Blogging system

    • Creating the Database Tables
    • Setting up DatabaseObject and Profile Classes
    • Creating a Controller for Managing Blog Posts
    • Creating and Editing Blog Posts
    • Previewing Blog Posts
    • Updating the Status of a Blog Post

    Extending the Blog Manager

    • Listing Blog Posts on the Blog Manager Index
    • Ajaxing the Blog Monthly summary
    • Integrating a WYSIWYG Editor

    Personalized User Areas

    • Controlling user Settings
    • The UserController Class
    • Displaying the User’s Blog
    • Populating the Application Home Page

    Day 4
    Implementing Web 2.0 Features

    • Tags
    • Web Feeds
    • Microformats
    • Allowing Users to Create a Public Profile

    A Dynamic Image Gallery

    • Storing Uploaded Files
    • Uploading files
    • Sending images
    • Resizing Images
    • Managing Blog Post Images
    • Displaying Images on User Blogs

    Implementing Site Search

    • Introduction to Zend Search Lucene
    • Indexing Application Content
    • Creating the Search Tool
    • Adding Autocompletion to the Search Tool

    Day 5
    Integrating Google Maps

    • Google Maps Features
    • Planning integration
    • Adding Location Storage Capabilities
    • Creating our First Map
    • Managing Locations on the Map
    • Displaying the Map on User’s Public blogs

    Deployment and Maintenance

    • Application Logging
    • Site Error Handling
    • Web Site Administration
    • Application Deployment
    • Backup and Restore

    Duration and pricing

    • Full-time over 5 days (R8995 excl VAT)
    • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R10995 excl Vat)
    • Part-time over 8 Saturdays, 3 hour sessions (R10995 excl Vat)
    • Distance-learning over up to 3 months (R7995 excl Vat)

    Certificate

    1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
    2. You have the option to get the competency / academic certificate if you :
    hand in a project (pre-approved) covering most of the topics in the book
    The project is useful for unemployed students who want to enter the job market. This project and certificate can be used to show employers your abilities.

    Schedule

    On the calender on this page below.  This course is repeated approximately once every 6 weeks, unless a customised specific booking isrequested via email.
    If your browser doesn’t display the calendar below, please click on this link or try using Google Chrome, alternatively please enquire via our ‘Contact Us’ page.

    Bookings

    You can download the course registration form on our home page or by clicking here

    Brochure

    To download a brochure of this page in pdf format, please click on the pdf icon at the top of this page

     

    2014-09-12 Alta

    http://web.archive.org/web/20150110234601/http://getcertified.co.za:80/short-courses/programming/php/php-beginner/

    Prerequisites

    You should be at the level of Introduction to Programming or Excel VBA before starting this course.
    HTML knowledge will be handy, but not required as we focus on the back-end in this course.

    Intended Audience

    This course is for web designers probably with HTML or XHTML who want to take their web pages to the next level.

    After this course you should be able to

      • Use PHP to transform static HTML pages into dynamic web sites
      • Use email from your web server
      • Creating feedback forms
      • Create and populate your own MySQL database tables, and work with data stored in files
      • Perform sophisticated MySQL queries with joins, and refining your results
      • Uploading images
      • Protect your data from SQL injection attacks
      • Secure your pages with HTTP Authentication
      • Build a basic functional PHP website with management and user functionality that could be useful to a small business with basic requirements

    Further Training

    The next course in the series is Advanced PHP .

    Course Material

    We give you an original copy of the book: Head First PHP & MySQL (by O’Reilly Press) as we use this mainly,
    but we also give additional examples where it falls short.

    Course Contents

    Day 1
    • Add life to your static pages
    • PHP brings web pages to life
    • Forms are made of HTML
    • HTML acts on the CLIENT
    • PHP acts on the SERVER
    • Use PHP to access the form data
    • The server turns PHP into HTML
    • A few PHP rules to code by
    • Variables are for storing script data
    • $-POST transports form data to your script
    • Creating the email message body with PHP
    • Newlines need doublequoted strings
    • Variables store the email pieces and parts
    • Sending an email message with PHP
    • Connecting to MySQL
    • MySQL excels at storing data
    • Create a MySQL database and table
    • The INSERT statement in action
    • Use SELECT to get table data
    • Connect to your database from PHP
    • Insert data with a PHP script
    • Use PHP functions to talk to the database
    • Get connected with mysqli_connect()
    • Build the INSERT query in PHP
    • Query the MySQL database with PHP
    • Close your connection with mysqli-close()
    • $-POST provides the form data
    • Create and populate a database
    • It all starts with a table
    • Make contact with the MySQL server
    • Create a database for emails
    • Create a table inside the database
    • We need to define our data
    • MySQL data types
    • Create your table with a query
    • USE the database before you use it
    • DESCRIBE reveals the structure of tables
    • Create the Add Email script
    • The Send Email script
    • mysqli_fetch_array() fetches query results
    • Looping through data with while
    • Removing data with DELETE
    • Use WHERE to DELETE specific data
    • Minimize the risk of accidental deletions
    Day 2
    • Realistic and practical application
    • Demand good form data
    • The logic behind Send Email validation
    • Your code can make decisions with IF
    • Testing for truth
    • IF checks for more than just equality
    • The logic behind Send Email validation
    • PHP functions for verifying variables
    • Test multiple conditions with AND and OR
    • Form users need feedback
    • Ease in and out of PHP as needed
    • Use a flag to avoid duplicate duplicate code
    • Code the HTML form only once
    • A form that references itself
    • Point the form action at the script
    • Check to see if the form has been submitted
    • Table rows should be uniquely identifiable
    • Primary keys enforce uniqueness
    • From checkboxes to customer IDs
    • Loop through an array with foreach
    Day 3
    • Working with data stored in files
    • The application needs to store images
    • Planning for image file uploads
    • The high score database must be ALTERed
    • How do we get an image from the user?
    • Insert the image filename into the database
    • Find out the name of the uploaded file
    • Where did the uploaded file go?
    • Create a home for uploaded image files
    • Shared data has to be shared
    • Shared script data is required
    • Think of require_once as “insert”
    • Order Timing is everything with high scores
    • Format the top score with HTML and CSS
    • Only small images allowed
    • File validation makes the app more robust
    • Plan for an Admin page
    • Generate score removal links on the Admin page
    • Scripts can communicate with each other
    • Of GETs and POSTs
    • GET, POST, and high score removal
    • Isolate the high score for deletion
    • Control how much you delete with LIMIT
    Day 4 
    • Securing your application
    • Protecting the Admin page
    • HTTP authentication requires headers
    • Header Exposed
    • Take control of headers with PHP
    • Authenticating with headers
    • Create an Authorize script
    • Subtraction by addition
    • Security requires humans
    • Plan for moderation
    • Make room for approvals with ALTER
    • Unapproved scores aren’t worthy
    • The million-point hack
    • Tricking MySQL with comments
    • The Add Score form was SQL injected
    • Protect your data from SQL injections
    • A safer INSERT (with parameters)
    • Form validation can never be too smart
    Day 5
    • Using Variables in PHP
    • Understanding Data Types
    • Operators and Expressions
    • if, else Statement
    • Testing One Expression Many Times with the switch Statement
    • Compact Coding with the Ternary Operator
    • Doing Repetitive Tasks with Looping
    • Creating and Accessing Strings
    • Searching Strings
    • Replacing Text within Strings
    • Dealing with Upper- and Lowercase
    • Formatting Strings
    • The Anatomy of an Array
    • Creating Arrays
    • Accessing Array Elements
    • Looping Through Arrays with foreach
    • Working with Multidimensional Arrays
    • Manipulating Arrays

    Practical project for competency certificate :

    Create a website with 2 tables:
    Product table (id, date, description, price, picture)
    Members table (id, name, surname, email-address, description)
    and pages for:

    Customers:
    to join the site
    to view the product list (will be expanded in the Advanced Course to add a shopping cart)

    Pages and tables should be designed to be secure
    from SQL injections by hackers

    Management:
    display the product list and add / remove and change products
    moderate new customer applications, delete customers
    the management pages must be protected with http authentication
    send an email newsletter to members
    Ensure that you use self-referencing forms that remember fields

    Duration and pricing

      • Full-time over 5 days (R7995 excl VAT)
      • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R9995 excl Vat)
      • Part-time over 8 Saturdays, 3 hour sessions (R9995 excl Vat)
      • Distance-learning over up to 3 months (R6995 excl Vat)

    Certificate

    • Upon completion of this course you will receive an attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
    • You have the option to get the competency / academic certificate if you hand in a project (pre-approved) covering most of the topics in the book, within 3 months
    • The project is useful for unemployed students who want to enter the job market. This project and certificate can be used to show employers your abilities.
    2014-09-03 Arnold

    [kc_row full_width=”stretch_row” video_bg_url=”https://www.youtube.com/watch?v=dOWFVKb2JqM” parallax_speed=”1″ parallax_background_size=”yes” _id=”512677″][kc_column width=”12/12″ _id=”593113″][kc_column_text _id=”420682″]

    One common cause of acid reflux disease is a stomach abnormality called a hiatal hernia. This occurs when the upper part of the stomach and LES move above the diaphragm, a muscle that separates your stomach from your chest. Normally, the diaphragm helps keep acid in our stomach. But if you have a hiatal hernia, acid can move up into your esophagus and cause symptoms of acid reflux disease.

    These are other common risk factors for acid reflux disease:

    Eating large meals or lying down right after a meal
    Being overweight or obese
    Eating a heavy meal and lying on your back or bending over at the waist
    Snacking close to bedtime
    Eating certain foods, such as citrus, tomato, chocolate, mint, garlic, onions, or spicy or fatty foods
    Drinking certain beverages, such as alcohol, carbonated drinks, coffee, or tea
    Smoking
    Being pregnant
    Taking aspirin, ibuprofen, certain muscle relaxers, or blood pressure medications

    [/kc_column_text][/kc_column][/kc_row]

    2014-04-17 Arnold

    What’s it like living with people you don’t know when most of your friends are settled in their own homes? Four unlikely groups reveal the challenges and hidden benefits of shacking up with strangers.That they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain.

    These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.

    But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.

    Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?