Re: [PHP] Running PHP code into JavaScript if-else clause

2002-11-11 Thread John Nichel
Php runs on the server, JavaScript runs on the browser. If your function "CheckNumber( $numero )" validates true, the script is going to out put your JavaScript, but the JavaScript will NOT change your php values no matter what the user selects. Wagner Marini wrote: JavaScrip and PHP together H

[PHP] Running PHP code into JavaScript if-else clause

2002-11-11 Thread Wagner Marini
JavaScrip and PHP together Hey ALL, I really do not understand what's going on. In my code below I try to inform the user that the number added to him already exists in database but in my JavaScrit's if-else the line "" ever run, even the user wants to add the number. What's happened?? Thanks, W