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.

Shaun

Privileged
  • Joined

  • Last visited

  1. Shaun replied to kree8or's topic in General Chat
  2. Out of interest, why would you reverse the str_replace for display? It should be displayed with £ to validate.
  3.    sergRamalli reacted to a post in a topic: Redirect after form is submitted
  4. Instead of: header("location: cart.php"); use: header("location:".$_SERVER['HTTP_REFERER']);
  5.    futureproof reacted to a post in a topic: CSS and jQuery question
  6.    sergRamalli reacted to a post in a topic: <hr /> breaks
  7. Also body { background-position: center; }
  8. div tags are valid HTML5
  9. Shaun replied to Ian W's topic in Frontend
    You'd be better off just creating a thank you page within your site then aiming the response at that. That way they won't be leaving the site.
  10. Shaun replied to Willows's topic in Server Side
    Possibly because you haven't shown any code where a query would be run that actually updates said database. You'll need to show us the code in tourneyleaguepost.php
  11. Shaun replied to Ian W's topic in Frontend
    You need to either specify a thank you page here: $thanksPage = ''; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page or you need to return the result like so at the bottom of mailform.php: $result = 'Your mail was successfully sent.'; echo $result; and $error_msg = 'Your mail could not be sent this time.'; echo $error_msg; and $error_msg = 'Your mail looks too much like spam, and could not be sent this time. ['.$points.']'; echo $error_msg; Also, if you're on a Linux server, the files are case-sensitive, so Mailform.php should be mailform.php
  12. Delusional as well, then.
  13.    Shaun reacted to a post in a topic: Menu help
  14. Shaun replied to Vulcan's topic in Frontend
    That's actually just CSS with cross-browser support. CSS3 would just use the 'rotation' property. And Leon gave you an example.
  15. Or maybe you can accept that other people are also able to help people here, without having to get so sensitive and defensive.
  16. Shaun replied to Vulcan's topic in Frontend
    Looks like they're just using images.
  17. Mike gets pretty defensive when others post after him, I see.
  18. I don't think you would need to store that data elsewhere. Just have a date column with a timestamp for each meal and you can just query it from that date range, e.g. if you want the rankings for a certain month, just pull each result where MONTH(date) = *whatever and then run your calculations on those results.
  19. Sorry, I don't click on bit.ly URLs at work. Have a pat on the back though.

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.