> Hi,
> 
> I have a web page where I've used Java Script to set up some 
> relational 

You mean wher if they choose something from menu 1 ,then menu 2 changes accordingly, 
right?
However javascript script is client side so it doesn't matter to the scripts as long 
as the
Data is submitted properly via the html form.

> menus, within a php script to send form data to a perl DBI script for 
> querying a database.  The user selects an option from the first menu, 
> and an option from the second menu, and these values need to 
> be passed 
> either to the php section of the script, or directly to the 
> DBI script. 
>  Is this nuts, or is there a way to pass the JS values to php or DBI?
Like was mentioned I would use one or the other. Perl saya there is more than one way 
to do it and PHP people seem to try to make you feel like only it will do certain 
things. 
( I'm not trying to start a flame war I'm just saying that most of the php die hards I 
talk to
seem to think that php is the only language that can do things like work with 
databases and send email.
I've actually had a few who were trying to evengelize me stare in amazment when I 
showed them a DBI script that managed some mysql tables and sent errors out as emails 
in just four lines of code.
I say use what you like and what does what you need. I happen to like perl because it 
does what I need 
And about a zillion other things. And , IMHO, it is way easier to expand via modules. 
We've had lots of problems with php on our servers when ever we tried to add new 
features and it just seems bloated and funky like sweaty underpants, again just MHO .)

What I'd do is create one perl script to print out your html form, complete with java 
script and also process your form.

Check the CGI module, it will do everythign you need to do.

http://search.cpan.org


> 
> Inorvermyhead,
> Robbie

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to