登录 | 注册 | FAQ
Anonymous

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

+ 发表回复

3 篇帖子 分页: 1 / 1


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

jordan rock » 周六 1月 14, 2017 6:04 am

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

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

附件

  1. Screenshot (7).png (89.91 KiB) 被下载 687 次

头像

jordan rock

  • 帖子: 1
  • 注册: 周六 1月 14, 2017 5:56 am

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

nanoverso » 周六 1月 14, 2017 4:55 pm

What is being output?
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

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

Farhin Qureshi » 周二 2月 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
头像

Farhin Qureshi

  • 帖子: 45
  • 注册: 周二 1月 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com


+ 发表回复

分页: 1 / 1