Support Forums
Mini PHP Project - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21)
+---- Thread: Mini PHP Project (/showthread.php?tid=21882)

Pages: 1 2 3


Mini PHP Project - BreShiE - 09-01-2011

http://theunknownnetwork.com/test.php

This is just a little project I'm working on, I should hopefully be developing it.


RE: Mini PHP Project - alabama - 09-02-2011

What's it gonna be?
Right now I just see my ip and a trollface


RE: Mini PHP Project - BreShiE - 09-02-2011

Look towards the bottom, the footer.


RE: Mini PHP Project - AceInfinity - 09-02-2011

The "Current Time: 05:31:21 PM" is wrong for me


RE: Mini PHP Project - Mark Zuckerberg - 09-02-2011

Haha that's awesome, I'm curious of how you got the time xD

Edit: Hm I might know a way but idk xDD


RE: Mini PHP Project - Fragma - 09-02-2011

Time doesn't work for me either. This is pretty basic PHP but good job nevertheless. I'd just advise you to get a decent template set up.


RE: Mini PHP Project - BreShiE - 09-03-2011

(09-02-2011, 02:31 PM)Ace Wrote: The "Current Time: 05:31:21 PM" is wrong for me

The time, I didn't know how to set it so it displays the persons time zone of who's viewing it, instead everyone see's that one time zone.

(09-02-2011, 03:00 PM)Mark Zuckerberg Wrote: Haha that's awesome, I'm curious of how you got the time xD

Edit: Hm I might know a way but idk xDD

If you mean the PHP code it is this:

PHP Code:
<?php

$date 
date("h:i:s A"time());
echo 
$date;

?>


(09-02-2011, 03:01 PM)Fragma Wrote: Time doesn't work for me either. This is pretty basic PHP but good job nevertheless. I'd just advise you to get a decent template set up.

Read what I replied to Ace with, yeah I know it's basic PHP, I'm still learning. Smile. I may get a template setup, I take it you already saw the one I am working on?


RE: Mini PHP Project - Orgy - 09-03-2011

Okay, so what's the point and what's your goal with this?


RE: Mini PHP Project - BreShiE - 09-04-2011

No point and No goal really, just somewhere to put what I learn, and trying to make it look good at the same time, organizing it.


RE: Mini PHP Project - Orgy - 09-04-2011

Yeah but what's the outcome of it supposed to be? What are you trying to do with it?