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.

garym

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    garym reacted to Jay Gilford in What does .= mean in PHP?   
    The assignment operator is a shorthand for
    $a .= 'some string';
     
    is the equivalent of
    $a = $a . 'somestring';
     
    See here for more information
  2. Like
    garym reacted to Mythriel in What does .= mean in PHP?   
    Concatenate to a string.
    e.g:

    $var = "This is a "; $var .= "test demonstration"; echo $var; //prints This is a test demonstration
  3. Like
    garym reacted to Jay Gilford in What's wrong with this PHP code?   
    That should work perfectly. My guess is you don't have php parsing on when it's run. Do you have the .html extension instead of .php?
  4. Like
    garym reacted to Jay Gilford in What's wrong with this PHP code?   
    Have you set a webserver up on your local machine? or are you using hosting to test this?
    If you haven't set up a webserver, I'd recommend WAMP or XAMPP for windows. html is not parsed as PHP. to parse php, you need to use the .php extension, and access the file using your browser's localhost
  5. Like
    garym reacted to Jay Gilford in What's wrong with this PHP code?   
    And you're getting no output whatseover? Is the title showing in the browser at least?
  6. Like
    garym reacted to Jay Gilford in What's wrong with this PHP code?   
    Ah, there's the issue then. The closing </title> is missing the <
  7. Like
    garym reacted to Jay Gilford in What's wrong with this PHP code?   
    No problem. easy mistake to make. I'd recommend getting an IDE like phpDesigner that auto closes your tags for you. It's what I use, very helpful
  8. Like
    garym reacted to Jay Gilford in An easy way to remember whether to 'echo'?   
    If you want something to be output, you need to use echo, print, or in more severe (last output moments) exit or die

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.