Helping ordinary people create extraordinary websites!
SIGNUP
LOGIN
HOME
ARTICLES
TUTORIALS
SCRIPTS
ANSWERS
ONLINE SERVICES
TOOLS
FORUM
Get Answers
»
Computer Programming Help
»
PHP Help
Can I use PHP global variables inside Javascript?
Wednesday, 16th December 2009
by
Vijaya
I am having one.php in one folder. And another file two.php in another folder. I want to include one.php inside two.php. The scope of the CSS file and the JS files should come along with the one.php.
Tweet
Ask a Question
Save
Watch
Tags:
php global variables
mayur007
Yes, you can check the javascript using the alert() function.
Please make sure the file name should be as PHP file.
I hope this helps.
Sources:
Http://bit.ly/9BtzsI
Saturday, 30th April 2011
Votes:
3
1
More PHP Help:
»
How can I split a string into several parts using PHP?
»
Code to ask a user to enter data for creating a table using ajax and php
»
How to get the ID of the last record inserted into MySQL database?
»
How to send email with PHP?
»
How to go back to the previous page in PHP?
»
How can I download and install PHP for Windows?
»
What is Polymorphism in PHP?
»
How to do calculations with CodeCharge Studio?
GET OUR NEWS
Connect With Us
Online Services
Domain Names
Hard Drive Recovery
Internet Marketing
Online Backup
Online Training
Payment Processing
SaaS
Software Escrow
Web Design
Web Development
Web Hosting Directory
Developer Resources
Tutorial Directory
Learn HTML
Learn PHP
Learn CSS
Learn AJAX
Learn JavaScript
Learn Pear
White Papers
Resources
Webmaster News
Developer Content