Posted by cronoklee on 09/04/06 01:36
> > If it is...
> > Do the JavaScript routine.
> > else
> > Do the PHP equivalent Routine
It wouldn't really be as simple as that MS - PHP runs on the server.
Javascript doesn't run until it hits the user's browser ....so I guess
you'd need to check if javascript is enabled on a previous page and
then send that result to the next page using a form so that the server
could process it on the way. I can't think of a better way but someone
else probably will. Can you not just always do it in PHP? It'd be a lot
cleaner and you don't have to worry about it being enabled or not ;c)
Ciarán
Navigation:
[Reply to this message]
|