This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

creating web page in LPC2366

hi,

I am using LPC2366, written a code in scripting language....
In the web browser I want to display three selection BOXES, but when I try to open the web page with this code it does not open, However for two text boxes it works......... please suggest me the modification that has to be done in my code...

<----------------cdma.cgi------------------------>
# Here begin data setting which is formatted in HTTP_CGI.C module-->
t <TR><TD><IMG SRC=pabb.gif>Communication Mode</TD>
c b o <TD><select name="cm"><OPTION %s>Ethernet</OPTION><OPTION %s>Gprs</OPTION><OPTION %s>Cdma</OPTION></select></TD></TR>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

<---------------- HTTP.c----------------------->

switch(env[2]){

case 'o':

if ( SchedCfg.ucCommedium == 0 )

len = sprintf((S8 *)buf,(const S8 *)&env [4], "selected", "", "" );

else if ( SchedCfg.ucCommedium == 1 )

len = sprintf((S8 *)buf,(const S8 *)&env[4], "", "selected", "" );

else if ( SchedCfg.ucCommedium == 2 )

len = sprintf((S8 *)buf,(const S8 *)&env[4], "", "", "selected" ); break;

0