Jump to content

Include Php In Javascript


misse
 Share

Recommended Posts

i have a java script code contains a function that should include php code(contains mySQL queries and html tags included in echo'') into it, my question is how to write these stuuf into the javascript function:***HTML CODE:<scritpt type="text/javascript" scr="../../load.js"></script> ***JS DOCUMENT:function load(){// here is where i want to include my php code!! :) }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...