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.

POWERPLAY27

Members
  • Joined

  • Last visited

  1. How would I change the color of the font for the time/date displayed? I found this code on another forum and used it in my code, but its not having any effect: echo <font color="#FFF"> . date('d-m-Y - H:ia') . </font>;
  2. It's cool figured it out, cheers.
  3. Thanks, makes sense. I've inserted a php statement for date/time in a div classed as time, I've went into my css file. I uploaded my php file and css file to my web domain, but it doesn't seem the css file is being read. Any ideas why?
  4. Echo displays some sort of output, but how do you move that output around the page? CSS?
  5. This is what I came to understand late on, that any html file that contains PHP, even if very minimal has to have the .php extention. Slowly slowly learning something new about php, which I'm pleased about. echo date(); that doesn't output the date/time, is there anything else I have to add? My bad, I just realised "d-m-Y", and viola, now to display the time, what do I need to add? EDIT: Just done it, for reference to anyone that needs to know this: <?php $date = date("format", $timestamp); echo date('d-m-Y - H:ia'); ?>
  6. I've tried to echo hello; but nothing comes up, I've even uploaded it to my website domain to see if there is a difference, but nothing.
  7. Ok, so how do I change the color of the time/date? My website background is black, is that why I can't see the time and date? I've used echo date(); but I can't see it in my webpage, I'm not actually sure if the php tag is recognised, because the writing of the tag does not change to red.
  8. I want to display the date and time in my html page, I have inserted <?php echo time(); ?>, but the writing stays blue, same as the html coding, does that mean the php tag is ignored?
  9. POWERPLAY27 replied to POWERPLAY27's topic in Server Side
    Tried it, can't get it to work. I will just leave it as it is, as long as the information is sent to email I am happy.
  10. POWERPLAY27 posted a topic in Server Side
    How do I get this writing to be bold: $sent = mail ($to, $subject,"Name: $fullname\r\n\r\nCompany: $company\r\n\r\nEmail: $email\r\n\r\nTel No: $telno\r\n\r\nEnquiry: $enquiry", $headers);
  11. Ok, I absolutely baffled, its now working. I don't know what exactly made it start working, but it has. Thank you all for all your help, you dedicated time to my problem, I appreciate that! Thank you.
  12. Are you seeing Contact Us as the subject of an email that you receive? YES. Are you filling in and submitting the form on your online page from your own website and domain (not submitting from a local file on your computer? Submitting from own website uploaded FTP. Does your host support PHP (if it sends an empty email, it must do). Believe so, yes it does send the email. Does your host send emails via php (it seems that it does)? Yes
  13. I've echo'd $fullname Tried: echo $fullname; output = nothing echo '$fullname'; output = $fullname echo "$fullname"; output nothing. Nothing seems to be passed from the user input for fullname and its the same with the rest.
  14. Any ideas, anyone? Why is my user data not appearing in the body of my email?

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.