error

She has: 25 posts

Joined: Sep 2004

I'm just starting out with ASP and I'm doing the test code to bring up the current date. I typed this in the code:

<?php
=date
?>
and I got an error when I viewed it on my test server- 'date' is undefined

Is there some kind of a setting on my browser that's wrong?

Thanks!

She has: 25 posts

Joined: Sep 2004

I had the page set as Javascript instead of VBscript. DOH!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.