...

View Full Version : PHP to Javascript



niko
04-23-2004, 09:24 AM
can i declare a var in javascript with the value of a recordset field in php, and if so
anyone know how!!

mordred
04-23-2004, 09:29 AM
Basically, all you have to do is to write the correct JavaScript to the output stream in your PHP script:



print "var myVariable = '$recordSetValue';\n";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum