Posts: 2,536
Location: Western Maryland
|
jeephp,
0beron speaks the truth, but I wanted to elaborate a bit more. Keep in mind that PHP runs on the server. So by definition, any PHP script or task executed by PHP must, by definition, touch the server. JavaScript is intended as the client-side script. Ignoring VBScript for a moment (quite intentionally), anything you wish to do in the browser without going back to the server must generally be done in JavaScript.
__________________
—Kyrnt
|