yah i am right On Thu, Jan 29, 2009 at 2:44 PM, VizBoy <[email protected]> wrote:
> Are you sure you have the right group for this? > > - VizBoy. > > > On Thu, Jan 29, 2009 at 11:12 AM, hp_singh <[email protected]> wrote: > >> >> hi any one can help me if >> >> find this error in code >> >> when i m Checking availability of email >> >> undefined massages display in error what is wrong in my code >> >> >> >> >> >> if ( ob ) { >> if ( ! this.verified ) { >> error_div.innerHTML = "Checking availability >> of email....."; >> error_div.style.display = ""; >> >> // this fun not run >> if ( requester != null && >> requester.readyState != 0 && requester.readyState != 4 ) { >> requester.abort(); >> } >> try { >> requester = new XMLHttpRequest(); >> }catch (error) { >> try { >> requester = new ActiveXObject >> ("Microsoft.XMLHTTP"); >> } >> catch (error) { >> requester = null; >> return ; >> } >> } >> requester.onreadystatechange = >> onReadyStateChangeEmail; >> requester.open("GET", "../manager/ >> CheckEmail.php?email=" + email.value, true); >> requester.send(null); >> } >> } >> return true; >> >> >> >> >> #################################################### >> >> >> php code >> >> >> if($_GET['email']){ >> $email=$_GET['email']; >> /* if >> (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*...@[a-z0-9-]+(\.[a-z0-9-]+)* >> (\.[a-z]{2,3})$", $email)){ >> $print= "<font face='Verdana' size='1' >> color=blue>Invalid email</ >> font>"; >> >> echo $print; >> } >> else >> { >> */ $q="select * from contact_detail where >> Email='$email'"; >> $r=mysql_query($q); >> $no=mysql_num_rows($r); >> if($no != 0){ >> $print= "<font face='Verdana' size='1' >> color=green>Sorry $email >> has already Existed</font>"; >> >> echo $print; >> } >> else{ >> $print=""; >> $_SESSION[email]=$email; >> echo $print; >> } >> } >> >> >> >> >> regard >> >> Hirendra >> >> > > > > -- A Door knocks twice. insider asks--who is there... ans was : its OPPOTUNITY" insider tels ,you are wrong becouse oppotunity never knocks twice रात यों कहने लगा मुझसे गगन का चाँद, आदमी भी क्या अनोखा जीव होता है! ,उलझनें अपनी बनाकर आप ही फँसता और फिर बेचैन हो जगता, न सोता है। --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
