Anmelden | Registrieren | FAQ
Anonymous

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

+ Antwort erstellen

3 Beiträge Seite 1 von 1


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

von jordan rock » Sa Jan 14, 2017 6:04 am

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

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

Dateianhänge

  1. Screenshot (7).png (89.91 KiB) 1203-mal heruntergeladen

Benutzeravatar

jordan rock

  • Beiträge: 1
  • Registriert: Sa Jan 14, 2017 5:56 am

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

von nanoverso » Sa Jan 14, 2017 4:55 pm

What is being output?
Benutzeravatar

nanoverso

  • Beiträge: 253
  • Registriert: Sa Mai 10, 2014 12:08 am
  • Wohnort: Brazil

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

von Farhin Qureshi » Di 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
Benutzeravatar

Farhin Qureshi

  • Beiträge: 45
  • Registriert: Di Jan 03, 2017 11:33 am
--
Farhin Qureshi
.NET Developer
http://www.ifourtechnolab.com


+ Antwort erstellen

Seite 1 von 1