Re: Javascript & PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob W. wrote:
> Ok. I am trying to figure out if this would be the correct thing to do. I start off with Java script that looks like this.
> 
> /*
> function getType(what,available,owner) {
>         var serverid = serveradd.serverid.value;
>         var cabinetid = serveradd.cabinetid.value;
>         var rowid = serveradd.rowid.value;
>         var dcid = serveradd.dcid.value;
>         var colour = serveradd.colour.value;
>         var spec = serveradd.spec.value;
>         var mainip = serveradd.mainip.value;
>         var oldip = serveradd.oldip.value;
>         var switchid = serveradd.switchid.value;
>         var switchport = serveradd.switchport.value;
>         var apcid = serveradd.apcid.value;
>         var apcport = serveradd.apcport.value;
>         document.location=('admin.php?page=serveradd&action=' + add + '&myid=&serverid=' + serverid + '&cabinetid=' +
> cabinetid + '&rowid=' + rowid + '&dcid=' + dcid + '&colour=' + colour + '&spec=' + spec + '&mainip=' + mainip +
> '&oldip=' + oldip + '&switchid=' + switchid + '&switchport=' + switchport + '&apcid=' + apcid + '&apcport=' + apcport +
> '&available=' + available + '&owner=' + owner);
> }*/
> 
> Do I, Before that exec's, add in my mysql get to set the variables to the java variables or how do I enter that in?


I read that line 3 times - I know its english, but the meaning escapes me... maybe others have the same problem.
could you rephrase the question?

> 
> Any help is appricated.
> 
> -Rob

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux