Jump to content

Include Php In Javascript

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...