Entrar | Registrar | FAQ
Anonymous

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

+ Postar uma resposta

3 Mensagens Página 1 de 1


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

por jordan rock » Sáb Jan 14, 2017 6:04 am

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

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

Anexos

  1. Screenshot (7).png (89.91 KiB) Baixado 1215 vezes

Avatar de usuário

jordan rock

  • Mensagens: 1
  • Data de registro: Sáb Jan 14, 2017 5:56 am

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

por nanoverso » Sáb Jan 14, 2017 4:55 pm

What is being output?
Avatar de usuário

nanoverso

  • Mensagens: 253
  • Data de registro: Sáb Mai 10, 2014 12:08 am
  • Localização: Brazil

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

por Farhin Qureshi » Ter Fev 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
Avatar de usuário

Farhin Qureshi

  • Mensagens: 45
  • Data de registro: Ter Jan 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com


+ Postar uma resposta

Página 1 de 1