Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AJReading

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AJReading got a reaction from ayoungh in What PHP framework do you use?   
    The point of a framework is to make it easier to develop applications by taking care of common tasks for you from things like cleaning users input to database interaction, session management, validation, templating, email, encryption etc.
     
    They are usually based on the Model View Controller (MVC) which seperates code into three parts, data access/manipulation (model), application presentation (view) and application logic (controller).
     
    They can take a while to learn and get your head around the concept but after using a framework for a while it speeds up development time and encourages the re-use of code. I've developed libraries for certain projects that I can simply and seamlessly use for other projects.
     
    I've linked the wikipedia article on MVC if you want to know more.
  2. Like
    I am very against using black hat methods personally and work hard to make organic search work. Writing clearly so people will read your content (and convert to sales!) is the most important part of SEO.
     
    It might take a bit longer to write, but it will pay off for years to come...
  3. Like
    AJReading got a reaction from Stevo in Using the $_POST array   
    You could loop through the POST array and assign a variable for each item in the array, this would probably not be a good idea though as people could potentially post anything they want and start messing with your variables.
     
    Perhaps this would be better than manually assigning each variable.
     

    $form = array('Name', 'Address', 'Postcode', 'Etc'); foreach ($form as $field) { if (isset($_POST[$field])) { $$field = $_POST[$field]; } }
     
    This will create $Name, $Address, $Postcode etc for you and on line 4 where the variables are defined you can use any clean up functions you may want to perform on the user input.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.