LOL, welcome to the forum...
TWO languages???? You're not even trying...hehe
Okay, nuf giggles.
There is not really a good way to do that. I inter use PHP and JavaScript, sometimes even Java...trust me, JavaScript says:
and PHP, it's just
so, try a debug on a PHP module, that is called from client-side AJAX, confusion waiting to happen...
I use one tool:
discipline...that and a debug stategy...errors will light up the room...soon enuff
Just...me
Thor