Skip to content
View in the app

A better way to browse. Learn more.

Tip.It 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.

my first php script

Featured Replies

<?php



$d=date("D");



echo " 







";



if ($d=="Fri")



echo "Have a nice weekend!"; 



if ($d=="Mon")



echo "ohhh no Mondayitis";



if ($d=="Tue")



echo "have a nice Tuesday";



if ($d=="Wed")



echo "Weekends nearly hear!";



if ($d=="Thu")



echo "One day till the weekend!";



if ($d=="Sat")



echo "Make the most of the weekend!";



if ($d=="Sun")



echo "Go out, get waisted then go to work hung over!

";



?>

 

 

 

 

 

 

 

hehe pritty simple but hey, im just starting :P

manedit.png

First and only pixel thinger I made.

if you posted the hello world script, i would've kicked you :P

  • Author

lol that cant be counted as a script...

 

 

 

 

 

 

 

i actualy made one before that but i didnt show it cause it can be done is HTML just as easy. and its childish

manedit.png

First and only pixel thinger I made.

PHP Makes me mad sometimes..

 

 

 

 

 

 

 

When working with MySQL and PHP, it gets on my nerves.

 

 

 

 

 

 

 

But, nice script for a first one :)

That is good for a first script. Mine was a hello world type... You should get the book Learning PHP 5(O'reilly) if you want to learn alot more.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.