3
Hello.. I am having a problem in which I am encountering difficulties, perhaps by my little knowledge in JS.
I have a Javascript function that calls a PHP file:
<script type='text/javascript'>
...
events: "events.php"
</script>
When this PHP file is called (Events.php) everything that needs to happen happens. A search is performed on this file and a JSON is returned... Okay... my question is this::
When calling the file 'Events.php' I need to pass a variable as parameter, to get its value inside the file called. How can I do this? Pass a php variable as parameter in the JS function that calls a PHP file?
Of course, that’s right. I was getting _REQUEST on the other page, so I was making a mistake. Thank you.
– Developer1903
Glad you could help
– Miguel