Current location: Hot Scripts Forums » Programming Languages » PHP » JavaScript with PHP


JavaScript with PHP

Reply
  #1 (permalink)  
Old 07-15-05, 03:20 AM
phplearner phplearner is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
JavaScript with PHP

i want to clarify something. The version i m using for mysql is 4.0 and php 4.2. if i use JavaScript with PHP, will i need to install any additional stuff? will there be complications? i will be using my web applcation in Windows 98 and NT. Other than MySQL and PHP installed, i dun have anything installed. Will it cause a problem? i will be grateful if you guys state any possible errors that will occur. thx alot!
Reply With Quote
  #2 (permalink)  
Old 07-15-05, 03:31 AM
perleo perleo is offline
Coding Addict
 
Join Date: Jul 2003
Location: Ireland
Posts: 269
Thanks: 0
Thanked 0 Times in 0 Posts
i cant see there being a problem. Javascript is run by your browser so its dependant on the clients browser, not the server software

To output Javascript you can put echo it out or just stop the php tag and place your javascript like a normal HTML page and then open the php tags like so

PHP Code:



 //some PHP here
 ?>

 <script> </script>

 <?php

 
//continue
Reply With Quote
  #3 (permalink)  
Old 07-16-05, 11:46 AM
phplearner phplearner is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
thx for the reply
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Javascript Variable to PHP watadude PHP 4 01-15-11 06:44 PM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
Include PHP via javascript bkbenson JavaScript 4 02-19-05 12:40 AM
javascript and php clashes, need expert help nassau JavaScript 2 11-12-04 07:19 AM
javascript multiple select menu for php? isaacmlee JavaScript 1 10-15-04 09:53 AM


All times are GMT -5. The time now is 06:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.