Jump to content

ryeman98

Members
  • Posts

    286
  • Joined

  • Last visited

    Never

Everything posted by ryeman98

  1. Ok well...heres what I've got to say I guess... a) Yes. There will be many animations to be displayed so I was going to put every animation in a separate file and just use the code 'include' b) I will most likely have each animation display the same time in the AM as it does in the PM just to make it a little less complicated. c) Yes. It must be set to a certain time instead of being random. Will this plan work?
  2. No no no, make it look like this: <?php $string = "date("h:i:s")"; echo "string"; ?> Or, if you want to display the date you could just do this: <?php $date = date("h:i:s"); echo $date; ?>
  3. Ok but...how would the code go, I don't think I'm smart enough to really figure this out...late night I have the $date set to the hour and minutes...wouldn't I have to type in every minute? --- It'll be animations that will be displayed...and I will have a schedule for each one to display once in the week...wouldn't that be a lot of arrays? Ok just realizing this now...does this mean that either way I do it, I'll have to do a ton of coding?
  4. Just looking at that...wouldn't I have to put each time in each case...which is kind of like the elseif statements? Just kind of seems like the same thing...Thank you for the idea.
  5. Hi! I am making a certain kind of website and I want to display different things at different times but I don't want to write a a huge if statement along with a lot of elseif statements. Ex) I want to display something between 2:30PM and 3:00PM. What can I do other than making a ton of elseif statements? Thanks in advance! Rye
  6. I'm not sure if I know exactly what you mean but there are other ways. If you want a system like that that can store passwords, names, etc. Learn (my)sql and it can make it a lot easier. Good luck!
  7. Sorry...didn't work... :-\ I don't think I've had one system work for me before  :D
  8. Yes. I have, thats why I don't understand this error.
  9. You might want to learn php though. If you encounter an error and you don't know what it means, it's just extra work to have to ask people who may not understand what you're talking about. It took me 3 short days to learn php ;D
  10. Ok so I get this error on my web page: [code]Fatal error: Call to undefined function: login_display() in /home/neosimpl/public_html/register.php on line 179[/code] And this is my code on like 179: [code]$log->login_display("Login");[/code] This may not be enough so here is the 'login_display' part too: [code]function login_display($title) { echo('<fieldset><legend>'.$title.'</legend> <form method="POST" name="login"> Username:<br /> <input type="text" name="username"><br /><br /> Password:<br /> <input type="password" name="password"><br /><br /> <input type="submit" name="login" value="Login!"> </form> </fieldset>'); }[/code] Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.