Re: [PHP] How to adpated a javascrip with php...

2003-11-11 Thread Burhan Khalid
Payne wrote: Hi, I have a Javascript that I like to use with PHP/MYSQL, But I don't know how to mix the two... Here is an example. /* do php stuff here, like set a value to $x */ $x = 3; ?> funtion x() { var foo = ; alert(foo); } -- Burhan Khalid phplist[at]meidomus

RE: [PHP] How to adpated a javascrip with php...

2003-11-11 Thread Martin Towell
> I have a Javascript that I like to use with PHP/MYSQL, But I > don't know > how to mix the two... > > > bName = navigator.appName; > bVer = parseInt(navigator.appVersion); > > if ((bName == "Netscape" && bVer >= 3) || > > (bName == "Microsoft Internet Explorer" && bVer >= > 4))