Use date
to find the day of the week, using l
.
<?php
echo "<iframe src="http://cidadehoje.pt/player/". strtolower(date("l')) .".php'></iframe>";
More Related Contents:
- Select mySQL based only on month and year
- Composer: file_put_contents(./composer.json): failed to open stream: Permission denied
- Laravel Eloquent: How to get only certain columns from joined tables
- create superglobal variables in php?
- How to validate phone number using PHP? [duplicate]
- check if url exists in php [duplicate]
- Mysql InnoDB engine in Laravel
- How should I serve an image with Laravel?
- Expected response code 250 but got code “”, with message “”
- How to keep form values after post [duplicate]
- How to use Laravel Passport with Password Grant Tokens?
- UTF-8 in PHP regular expressions [duplicate]
- Setting a cookie in an AJAX request?
- phpexcel Allowed memory size of 134217728 bytes exhausted [duplicate]
- Detect Ajax calling URL
- MySQL: Group by two columns and sum
- Get non-numeric characters then number on each line of a block of texf
- Merge two images in php
- Bigquery + PHP examples
- Detect how long it takes for a file to upload (PHP)
- Format 32-character string with hyphens to become UUID
- Download multiple files as a zip folder using php [duplicate]
- How Can I Remove “public/index.php” in the Laravel Url generated? [duplicate]
- How to assign Php variable value to Javascript variable? [duplicate]
- Number in the top-level domain?
- finding common prefix of array of strings
- file_get_contents when url doesn’t exist
- Check if all values in array are the same
- PHP – Flushing While Loop Data with Ajax
- CORS: PHP: Response to preflight request doesn’t pass. Am allowing origin