Login | Register | FAQ
Anonymous

can't figure it out what i am doing wrong in date and time

+ Post a reply

3 posts Page 1 of 1


can't figure it out what i am doing wrong in date and time

by jordan rock » Sat Jan 14, 2017 6:04 am

<html>
<head>
<title> my first website</title>
</head>

<body background="background_<? php echo date ("w"); ?> .jpg">
</body>
</html>

Attachments

  1. Screenshot (7).png (89.91 KiB) Downloaded 494 times

User avatar

jordan rock

  • Posts: 1
  • Joined: Sat Jan 14, 2017 5:56 am

Re: can't figure it out what i am doing wrong in date and ti

by nanoverso » Sat Jan 14, 2017 4:55 pm

What is being output?
User avatar

nanoverso

  • Posts: 248
  • Joined: Sat May 10, 2014 12:08 am
  • Location: Brazil
--
Mario blog (Portuguese): http://jogos-do-mario.nanoverso.com

Re: can't figure it out what i am doing wrong in date and ti

by Farhin Qureshi » Tue Feb 14, 2017 10:19 am

Hi,
I am unable to find that what exactly you want to do and why you are attaching both jpg and date function together.Here is the link for using date and time in php to get clear idea.
http://www.w3schools.com/php/php_date.asp
User avatar

Farhin Qureshi

  • Posts: 45
  • Joined: Tue Jan 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com


+ Post a reply

Page 1 of 1