RE: [PHP-DB] php variables to JS

2003-01-06 Thread xxx xxxx
Forget hidden form all you have to do is to insert in javascript code php code like this: . ... weight= height= ..and so on it's simple no??? i hope it's good for your needs cybercop78 On Sun, 5 Jan 2003 08:36:20 -0600, Brya

RE: [PHP-DB] php variables to JS

2003-01-05 Thread Doug Thompson
OK. I consider this an easier way. I use it to display fullsize images when a thumbdnail is clicked. Same principle. >From var pixNum="",winName="", mheight="", mwidth="" var pixURL="http://**someURL**/"; function viewPix(pixNum,winName,mheight,mwidth) {

RE: [PHP-DB] php variables to JS

2003-01-05 Thread Rich Hutchins
: Rich Hutchins [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 9:35 AM To: Bruce Levick; [EMAIL PROTECTED] Subject: RE: [PHP-DB] php variables to JS >From what I have learned PHP and JS don't "talk" directly to each other. Instead, you have to make hidden fields in yo

RE: [PHP-DB] php variables to JS

2003-01-05 Thread Bryan McLemore
Could always pass it through a hidden form. Bryan -Original Message- From: Bruce Levick [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 1:09 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] php variables to JS Bruce Levick - VivamotionI am opening a chromless window with some JS co

RE: [PHP-DB] php variables to JS

2003-01-05 Thread Rich Hutchins
>From what I have learned PHP and JS don't "talk" directly to each other. Instead, you have to make hidden fields in your html that hold the values from your database then access those hidden fields with JS. If you want to take values from JS and use them in a PHP script, then the process is revers