FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » how to add javascript in php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to add javascript in php [message #34257 is a reply to message #32529] Mon, 16 October 2006 12:42 Go to previous message
sBForum is currently offline  sBForum   Jordan
Messages: 5
Registered: October 2006
Location: Jordan
Karma:
Junior Member

u can't do that ! except for using another technology like AJAX for requesting another PHP page by JavaScript to do something on the server side ..

but u can control JavaScript by PHP easily by ECHOing the javascript normally like this :
<?php

echo "<script language='javascript'>
YOUR JAVASCRIPT CODE GOES HERE!
</script>";

?>


anything else?

regards,
sBForum
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cookies or sessions???
Next Topic: Newbie Question - Ignore missing ? links in URL
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 01 20:23:05 GMT 2024

Total time taken to generate the page: 0.04838 seconds