MySQL Forums
Forum List  »  PHP

Re: Convert JAVA variable into PHP variable
Posted by: Peter Brawley
Date: March 22, 2021 11:12AM

You're showing Javascript not Java.

PHP runs on the server, Javascript runs on the client, Variables can't be passed from JavaScript code to PHP code, you need another mechanism, eg submitting using GET or POST and fetching in the PHP $_GET[] or $_POST array.

Options: ReplyQuote

Written By
Re: Convert JAVA variable into PHP variable
March 22, 2021 11:12AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.